Image

Recraft V4.1 Flash

Recraft’s fast tier for raster art, illustration, and photography.

post/generate/image/recraft/recraft-v4.1-flash

Headers

X-Webhook-URLstring uri

URL to receive a POST request when the job completes. The webhook will receive the job data including results.

Request body

promptstring required
aspect_ratio'1:1' | '4:3' | '3:2' | '16:9' | '3:4' | '2:3' | '9:16' required

Aspect ratio. One of: 1:1, 4:3, 3:2, 16:9, 3:4, 2:3, 9:16.

resolution'1K' required

Resolution scale. One of: 1K.

Response

The resulting job data. This will be returned in a pending state until the job is completed. See /jobs/{id} for retrieving the results.

job_idstring uuid required
status'backlogged' | 'queued' | 'scheduled' | 'processing' | 'sampling' | 'intermediate-complete' | 'completed' | 'failed' | 'cancelled' required
created_atstring date-time required
{"stackTrail":"paths:/generate/image/recraft/recraft-v4.1-flash:post:responses:200:content:application/json:schema:properties:completed_at","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/generate/image/recraft/recraft-v4.1-flash:post:responses:200:content:application/json:schema:properties:result","oasType":"schema","type":"unknown"}

Changes