Recraft's latest image generation model, built around design taste โ strong prompt accuracy, art-directed composition and integrated text rendering at standard (~1MP) resolution.
Test this model instantly in the Console Playground โ no code required
Copy usage instructions for Claude, ChatGPT, or other AI
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "recraft-ai/recraft-v4.1",
"input": {
"prompt": "A brutalist concrete library interior at golden hour โ shafts of amber light cut through narrow slit windows and fall across tiered balconies lined with thousands of identical navy-blue hardcover books. A single reader sits far below in a pool of direct light. Wide-angle tilt-shift lens from above, architectural photography.",
"aspect_ratio": "Not set",
"size": "1024x1024"
}
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | - | Text prompt for image generation (up to 10,000 characters) |
aspect_ratio | string | No | Not set | Aspect ratio of the generated image. When set, size is ignored Not set1:14:33:43:22:316:99:161:22:114:1010:144:55:46:10 |
size | string | No | 1024x1024 | Width and height of the generated image. Size is ignored if an aspect ratio is set. 1024x10241536x768768x15361280x832832x12801216x896896x12161152x896896x1152832x13441280x896896x12801344x768768x1344 |
Common parameters used when calling POST /v1/predictions.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Yes | - | Model identifier |
input | object | Yes | - | Object containing the model-specific parameters from the table above |
output_folder | string | No | - | Folder path for output files (max 256 chars, '..' not allowed) |
webhook_url | string | No | - | Webhook URL to call on completion |
is_public | boolean | No | false | If true, output files are also available via permanent public URLs |
Art-directed interior scene at the default 1024x1024 size

curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "recraft-ai/recraft-v4.1",
"input": {
"prompt": "A brutalist concrete library interior at golden hour โ shafts of amber light cut through narrow slit windows and fall across tiered balconies lined with thousands of identical navy-blue hardcover books. A single reader sits far below in a pool of direct light. Wide-angle tilt-shift lens from above, architectural photography.",
"aspect_ratio": "Not set",
"size": "1024x1024"
}
}'Wide banner using an aspect ratio preset
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "recraft-ai/recraft-v4.1",
"input": {
"prompt": "A clean flat-design banner for a coffee shop spring promotion with the headline 'Spring Blend' in bold serif type, pastel palette",
"aspect_ratio": "16:9"
}
}'POST /v1/predictions