A fast version of Imagen 4 for when speed and cost are more important than maximum quality.
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": "google/imagen-4-fast",
"input": {
"prompt": "The photo: Create a cinematic, photorealistic medium shot capturing the dynamic energy of a high-octane action film.",
"aspect_ratio": "4:3",
"output_format": "jpg"
}
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | - | Text prompt for image generation |
aspect_ratio | string | No | 1:1 | Aspect ratio of the generated image 1:19:1616:93:44:3 |
safety_filter_level | string | No | block_only_high | block_low_and_above is strictest; block_only_high is most permissive block_low_and_aboveblock_medium_and_aboveblock_only_high |
output_format | string | No | jpg | Format of the output image jpgpng |
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 dynamic, high-energy action-film-style shot
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "google/imagen-4-fast",
"input": {
"prompt": "The photo: Create a cinematic, photorealistic medium shot capturing the dynamic energy of a high-octane action film.",
"aspect_ratio": "4:3",
"output_format": "jpg"
}
}'POST /v1/predictions