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

FamilyDescriptionCostMode
MidjourneyBest-in-class artistic quality. Returns a 2×2 grid you refine with upscale, variations, and editing operations.4 crAsync
Nano BananaGoogle Gemini 3.1 Flash Image. Fast, affordable text-to-image generation. Supports multiple reference images.2 crSync
Nano Banana 2Google Gemini 3.1 Flash Image. Same model as base — same price, same capabilities. Up to 14 reference images.2 crSync
Nano Banana ProPro tier Nano Banana. Higher quality output for production workloads.4 crSync
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 crComing Soon
Flux KontextContext-aware image editing. Provide a reference image and a text instruction to modify it precisely.4–8 crComing Soon
SeedreamByteDance image models with strong Chinese-language prompt support. Includes SeedEdit for image editing.2–3 crComing Soon
GPT-Image / GPT-4o ImageOpenAI image API. Excellent at following detailed instructions and rendering legible text inside images.2–3 crComing Soon
Ideogram v3Strong typography and graphic design output. Includes Edit, Remix, and Reframe variants.5 crComing Soon
Grok ImagexAI image models. Stylistically distinct, photorealistic output.3–4 crComing Soon
Flux 1 (Pro/Dev/Schnell)Black Forest Labs original Flux series. Asynchronous with BFL direct API polling.1–4 crComing 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"
  }'

Next