How to Generate an Image

How to Generate an Image

Step-by-step guide to generating images with WaveSpeedAI.

Not sure which model to use? Try our Image Generator — we’ve curated the best image models so you can start creating right away.

Quick Start

Web Interface

  1. Go to wavespeed.ai/models
  2. Select a text-to-image model (e.g., Z-Image Turbo, Seedream, Nano Banana)
  3. Enter your prompt
  4. Click Run

API

curl --fail-with-body --connect-timeout 10 --max-time 60 --request POST 'https://api.wavespeed.ai/api/v3/wavespeed-ai/z-image/turbo' \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{
  "prompt": "A majestic mountain landscape at sunset, cinematic lighting",
  "size": "1024*1024"
}'
ModelBest ForSpeed
Z-Image TurboFast, photorealistic generationVery fast
SeedreamVersatile, good prompt followingMedium
Nano Banana ProHigh quality, realisticFast

Common Parameters

ParameterDescriptionExample
promptWhat to generate”A cat in space”
sizeOutput dimensions, when supported1024*1024
output_formatOutput file format, when supportedjpeg
seedFor reproducibility12345

Parameter names vary by model. Always use the schema on the selected model’s page.

Example: High Quality Image

{
  "prompt": "A fluffy orange cat sitting on a windowsill, soft afternoon sunlight streaming through the window, bokeh background, photography style, 4K, high detail",
  "size": "1024*1024"
}

Example: Multiple Requests

Generate multiple images by making separate API calls:

# First image
curl --fail-with-body --connect-timeout 10 --max-time 60 --request POST 'https://api.wavespeed.ai/api/v3/wavespeed-ai/z-image/turbo' \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{
  "prompt": "A cat in space",
  "size": "1024*1024"
}'
 
# Second image
curl --fail-with-body --connect-timeout 10 --max-time 60 --request POST 'https://api.wavespeed.ai/api/v3/wavespeed-ai/z-image/turbo' \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{
  "prompt": "A cat in space",
  "size": "1024*1024"
}'

Tips for Better Results

  1. Be specific — Include details about subject, style, lighting
  2. Use Prompt Enhancer — Click the button to optimize your prompt
  3. Start small — Test with lower resolution first
  4. Check model README — Each model has specific tips

See How to Write Better Prompts for more tips.

© 2026 WaveSpeedAI. All rights reserved.