Seedream 5.5
Text to image · Image editing
Starting price $0.05 / image
By Google
Google's original Nano Banana creates images from text and edits the photos you upload from a written instruction.
nano-bananaThis model has other modes with their own ids: nano-banana/edit.
Quote the input, start the generation with the quote, then poll the job. Set RAYWAKE_API_KEY first; see Authentication.
# 1. Price the exact input (quotes are valid for up to 10 minutes)
curl -s https://api.raywake.com/v1/quotes \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "nano-banana",
"input": {
"prompt": "A small ceramic planter with a cactus on a sunny windowsill, pastel colors, soft shadows and a plain background."
}
}'
# 2. Start the generation with the quote_id from step 1
curl -s https://api.raywake.com/v1/generate \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"model": "nano-banana", "quote_id": "QUOTE_ID", "input": {"prompt":"A small ceramic planter with a cactus on a sunny windowsill, pastel colors, soft shadows and a plain background."}}'
# 3. Poll until the status is terminal
curl -s https://api.raywake.com/v1/jobs/JOB_ID \
-H "Authorization: Bearer $RAYWAKE_API_KEY"| Name | Type | Description |
|---|---|---|
promptrequired | string | The text prompt to generate an image from. |
num_images | integer | The number of images to generate. |
seed | integer | The seed for the random number generator. |
aspect_ratio | string (enum) | The aspect ratio of the generated image. |
output_format | string (enum) | The format of the generated image. |
safety_tolerance | string (enum) | The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict. |
sync_mode | boolean | If `True`, the media will be returned as a data URI and the output data won't be available in the request history. |
limit_generations | boolean | Experimental parameter to limit the number of generations from each round of prompting to 1. Set to `True` to to disregard any instructions in the prompt regarding the number of images to generate. |
A succeeded job lists its results under outputs, stored on our side. See Jobs for every field.
"outputs": [
{ "type": "image", "url": "https://…", "mime_type": "image/png", "thumbnail_url": "https://…" }
]The exact charge for your input comes from a quote. How charges settle
Fields marked * are required. Review the price before generating.
Nano Banana makes one to four images per run from a written description, in ten aspect ratios from 21:9 to 9:16.
Its edit mode takes one or more of your images and changes them from a plain instruction: swap a background, add an object, change the style or merge photos into one.
Proofread lettering and compare preserved details with source images after editing.