Developers / API
Build with the Regen API.
Generate, edit, upscale and cut out images with a single, predictable REST API. Production-ready from your first request.
POST /v2/generate
curl https://api.regen.ai/v2/generate \
-H “Authorization: Bearer $REGEN_KEY” \
-d ‘{
“model”: “regen-2.0”,
“prompt”: “Poster for a jazz night, bold serif title”,
“render_text”: true,
“size”: “1024x1536”
}’
Quickstart
Your first image in four steps.
Your progress
Step 3 of 4
Step 01
Completed
Create your API key
Sign up, open the dashboard and generate a secret key for your project.
Step 02
Completed
Install an SDK
Add our Python or TypeScript SDK, or call the REST endpoints directly.
3
Step 03
In progress
Send your first prompt
POST a prompt to /v2/generate and receive a signed image URL in seconds.
4
Step 04
Up next
Go live
Add webhooks, set usage limits and ship image features to your users.

Reference
Endpoints.
Every endpoint accepts JSON, returns JSON and supports webhooks for long-running jobs.
Endpoint
Method
Description
/v2/generate
POST
Create images from a text prompt, with optional style and reference images.
/v2/edit
POST
Inpaint, outpaint or replace regions using a mask or instruction.
/v2/upscale
POST
Enhance detail and upscale up to 4x while preserving texture.
/v2/remove-background
POST
Return a clean, transparent PNG cut-out.
/v2/text-layers
POST
Extract rendered typography as editable text layers.
/v2/jobs/{id}
GET
Poll the status of an asynchronous job.
SDKs
Use the language you already ship.
Python
from regen import Regen
client = Regen()
image = client.images.generate(
model=”regen-2.0”,
prompt=”Minimal product shot, soft shadows”,
)
print(image.url)
01
99.95%
Uptime SLA on Team and Enterprise plans.
02
<6s
Median latency for a 1024px image.
03
600 rpm
Default rate limit, raised on request.
04
SOC 2
Type II controls across the platform.
Ship image features this week
Start with free credits. Pay only for what you generate.