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.

NanoBanana 2 balances speed and quality for high-frequency API calls and batch workflows.
1:1, 16:9, 9:16 and more for social, product, and widescreen layouts.
Upload reference images with prompts for style transfer and edits.
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.
NanoBanana 2
20 credits / job
≈ $0.10 USD ($0.01 USD/credit at pack rate)
20 credits per successful job — pay as you go.
| Provider | Price |
|---|---|
| ModKieBest value | 20 credits / image |
| Replicate | ~$0.14 / image |
| Fal.ai | ~$0.15 / image |
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": "nano-banana-2",
"input": {
"prompt": "translation of all the text to Hindi.",
"aspect_ratio": "1:1",
"resolution": "1K",
"output_format": "jpg"
}
}'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.