Recraft's next-generation text-to-image model, improving on V3's typography, style range, and prompt adherence for production-grade brand and design assets.
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",
"input": {
"prompt": "A minimalist poster for a coffee shop grand opening, bold headline text 'NOW OPEN', clean sans-serif typography, warm color palette",
"aspect_ratio": "3:4"
}
}'| 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 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 |
A design asset that requires accurate on-image text rendering.
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",
"input": {
"prompt": "A minimalist poster for a coffee shop grand opening, bold headline text 'NOW OPEN', clean sans-serif typography, warm color palette",
"aspect_ratio": "3:4"
}
}'Uses an explicit size instead of an aspect ratio for exact output dimensions.
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",
"input": {
"prompt": "A clean product packaging mockup for a skincare bottle on a marble surface, studio lighting",
"size": "1280x832"
}
}'POST /v1/predictions