Image

Recraft V4.1 Flash

Changed on

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

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

Request

Headers

X-Webhook-URLstring uri

URL to receive a POST request when the job completes. The webhook will receive the job data including results. Deliveries are signed with Ed25519 (EdDSA); verify them with the keys at https://api.krea.ai/.well-known/jwks.json (see X-Krea-Webhook-* headers). Treat requests without these headers as unauthenticated.

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
completed_atunknown required
resultunknown required
progressnumber nullable

Changes