Fast iteration
Validate prompts in Playground before wiring createTask into your app.

Validate prompts and parameters before integration — same model and payload as production.
createTask input fields for the default tab.
| Field | Type | Required |
|---|---|---|
| prompt | textarea | Yes |
| aspect_ratio | select (1:1 | 16:9 | 9:16) | No |
Typical generation previews (actual output varies by prompt).

Why teams choose this model for production workloads.
Validate prompts in Playground before wiring createTask into your app.
Core capabilities for this model on the ModKie gateway.
Submit prompt and aspect ratio via createTask; poll recordInfo for image URLs.
Debug prompts in-browser before copying JSON to production.
Common developer and product use cases for this API.
Generate ad stills, hero images, and social assets from text prompts.
Credits apply per successful job only.
Imagen 4
22 credits / job
≈ $21.78 USD ($0.99 USD/credit Starter pack estimate)
Three steps from API key to your first successful job.
Create an API key
Sign in and create a key under Settings → API Keys.
Submit createTask
POST to /api/v1/jobs/createTask with your model id and input payload.
Poll recordInfo
Poll recordInfo until the job completes; download outputs from the response.
Example createTask request
curl -X POST https://modkie.com/api/v1/jobs/createTask \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/imagen-4",
"input": {
"prompt": "Create a cinematic, photorealistic medium shot capturing the nostalgic warmth of a late 90s indie film. The focus is a young woman with brightly dyed pink hair (slightly faded) and freckled skin, looking directly and intently into the camera lens with a hopeful yet slightly uncertain smile. She wears an oversized, vintage band t-shirt (slightly worn, with the faintly cracked white text “KIE AI” across the chest) layered over a long-sleeved striped top, along with simple silver stud earrings. The lighting is soft, golden hour sunlight streaming through a slightly dusty window, creating lens flare and illuminating dust motes in the air. The background shows a blurred, cluttered bedroom with posters on the wall and fairy lights, rendered with a shallow depth of field. Natural film grain, a warm, slightly muted color palette, and sharp focus on her expressive eyes enhance the intimate, authentic feel.",
"aspect_ratio": "1:1"
}
}'Poll GET /api/v1/jobs/recordInfo?taskId=… until state is success or fail. Credits apply only on success.
ModKie is more than API relay — deploy, fine-tune, and register custom endpoints on the same gateway.
One API key and jobs contract across marketplace and self-hosted models.
Validate payloads in-browser before shipping to production.
Deploy HuggingFace or custom workers and route traffic through ModKie.
Fine-tune vision models and register weights back into the gateway.
Work with our team on model landing, integration, and production rollout.