# Imagen 4 Fast > Use this fast version of Imagen 4 when speed and cost are more important than quality. - **Provider**: replicate - **Model ID**: google/imagen-4-fast - **Category**: image_generation - **Credits**: 46 per request - **Pricing Type**: fixed ## API Endpoint Base URL: https://api.core.today/v1 ### Create Prediction POST /predictions ### Get Status GET /predictions/{job_id} ### Cancel DELETE /predictions/{job_id} ## Authentication Header: `X-API-Key: YOUR_API_KEY` ## Input Parameters - `aspect_ratio` (string, optional): Aspect ratio of the generated image (Default: `1:1`; Options: `1:1`, `9:16`, `16:9`, `3:4`, `4:3`) - `safety_filter_level` (string, optional): block_low_and_above is strictest, block_medium_and_above blocks some prompts, block_only_high is most permissive but some prompts will still be blocked (Default: `block_only_high`; Options: `block_low_and_above`, `block_medium_and_above`, `block_only_high`) - `output_format` (string, optional): Format of the output image (Default: `jpg`; Options: `jpg`, `png`) - `prompt` (string, **required**): Text prompt for image generation ## Example Request ```json { "model": "google/imagen-4-fast", "input": { "aspect_ratio": "4:3", "safety_filter_level": "block_only_high", "output_format": "jpg", "prompt": "The photo: Create a cinematic, photorealistic medium shot capturing the dynamic energy of a high-octane action film. The focus is a young woman with wind-swept dark hair streaked with pink highlights." } } ``` ## Response Format ```json { "job_id": "abc123", "status": "pending", "provider": "replicate", "model": "black-forest-labs/flux-schnell", "created_at": "2026-01-01T00:00:00Z", "result": null, "error": null } ``` Status values: `pending`, `processing`, `completed`, `failed`, `cancelled` ## Usage Flow 1. POST /predictions with model and input → receive job_id 2. Poll GET /predictions/{job_id} until status is `completed` or `failed` 3. Result contains output URL(s) or data ## Output Type url ## Tags google, imagen, text-to-image, image-generation, fast-generation, budget ## Documentation https://replicate.com/google/imagen-4-fast