Skip to main content
GoogleMediumUltra

Imagen 4

Google's Imagen 4 flagship text-to-image model.

93 credits
per image (flat, regardless of 1K/2K image_size)
Google's flagship Imagen 4 quality tier
1K and 2K output resolution at the same flat price
Configurable safety filter strictness
Broad aspect ratio support for social and print formats
Strong photorealism and detail fidelity

Run it right now

Test this model instantly in the Console Playground โ€” no code required

Sign in to try

Use with AI Assistant

Copy usage instructions for Claude, ChatGPT, or other AI

Quick Start

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",
  "input": {
    "prompt": "The photo: Create a cinematic, photorealistic medium shot capturing the nostalgic warmth of a late 90s indie film.",
    "aspect_ratio": "16:9",
    "safety_filter_level": "block_medium_and_above"
  }
}'

Parameters

ParameterTypeRequiredDefaultDescription
promptstringYes-Text prompt for image generation
aspect_ratiostringNo1:1Aspect ratio of the generated image
1:19:1616:93:44:3
image_sizestringNo1KResolution of the generated image. Billed the same regardless of tier
1K2K
safety_filter_levelstringNoblock_only_highblock_low_and_above is strictest; block_only_high is most permissive
block_low_and_aboveblock_medium_and_aboveblock_only_high
output_formatstringNojpgFormat of the output image
jpgpng

Common Parameters

Common parameters used when calling POST /v1/predictions.

ParameterTypeRequiredDefaultDescription
modelstringYes-Model identifier
inputobjectYes-Object containing the model-specific parameters from the table above
output_folderstringNo-Folder path for output files (max 256 chars, '..' not allowed)
webhook_urlstringNo-Webhook URL to call on completion
is_publicbooleanNofalseIf true, output files are also available via permanent public URLs

Examples

Cinematic Portrait

A late-90s indie film style cinematic portrait

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",
  "input": {
    "prompt": "The photo: Create a cinematic, photorealistic medium shot capturing the nostalgic warmth of a late 90s indie film.",
    "aspect_ratio": "16:9",
    "safety_filter_level": "block_medium_and_above"
  }
}'

Tips & Best Practices

1Choose image_size=2K freely โ€” the price is flat regardless of 1K or 2K
2Loosen safety_filter_level to block_only_high (default) only when content is not sensitive
3Use google/imagen-4-fast instead when speed and cost matter more than maximum quality
4aspect_ratio choices are optimized for common social and print formats

Use Cases

High-fidelity photorealistic image generation
Marketing and social media visuals at 2K resolution
Content requiring configurable safety filtering
General-purpose flagship-quality text-to-image needs