Image
Image Generation
Generate images from text prompts using 30+ models across 9 families - all through the single /imagine endpoint. Switch models by changing one field.
Sync vs Async models
Synchronous
Most models (Nano Banana, Flux 2, Seedream, GPT-Image, Ideogram, Grok, Recraft, Qwen, Z-Image) complete in a single call. Your first /fetch returns status: "finished" immediately.
Asynchronous
Midjourney and Flux 1 (Pro/Dev/Schnell) are async. The API returns a task_id immediately. Poll with /fetch or use a webhook for the result.
Model families
| Family | Description | Cost | Mode |
|---|---|---|---|
| Midjourney | Best-in-class artistic quality. Returns a 2×2 grid you refine with upscale, variations, and editing operations. | 4 cr | Async |
| Nano Banana | Google Gemini 3.1 Flash Image. Fast, affordable text-to-image generation. Supports multiple reference images. | 2 cr | Sync |
| Nano Banana 2 | Google Gemini 3.1 Flash Image. Same model as base — same price, same capabilities. Up to 14 reference images. | 2 cr | Sync |
| Nano Banana Pro | Pro tier Nano Banana. Higher quality output for production workloads. | 4 cr | Sync |
| More models | |||
| Flux 2 (Dev/Flex/Max) | Fast synchronous generation. Flux.2 Dev at 1 credit is the best bang-for-buck model for high-volume pipelines. | 1–4 cr | Coming Soon |
| Flux Kontext | Context-aware image editing. Provide a reference image and a text instruction to modify it precisely. | 4–8 cr | Coming Soon |
| Seedream | ByteDance image models with strong Chinese-language prompt support. Includes SeedEdit for image editing. | 2–3 cr | Coming Soon |
| GPT-Image / GPT-4o Image | OpenAI image API. Excellent at following detailed instructions and rendering legible text inside images. | 2–3 cr | Coming Soon |
| Ideogram v3 | Strong typography and graphic design output. Includes Edit, Remix, and Reframe variants. | 5 cr | Coming Soon |
| Grok Image | xAI image models. Stylistically distinct, photorealistic output. | 3–4 cr | Coming Soon |
| Flux 1 (Pro/Dev/Schnell) | Black Forest Labs original Flux series. Asynchronous with BFL direct API polling. | 1–4 cr | Coming Soon |
Quick start
# Nano Banana - fast synchronous generation
curl -X POST https://api.journeyapi.com/api/v1/imagine \
-H "Authorization: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "nano-banana",
"prompt": "a red fox in a snowy forest, cinematic",
"aspect_ratio": "16:9"
}'
# Midjourney (async) - poll /fetch for the result
curl -X POST https://api.journeyapi.com/api/v1/imagine \
-H "Authorization: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "a red fox in a snowy forest --ar 16:9",
"webhook_url": "https://your-server.com/webhook"
}'