Nano Banana 2.1
Text to image · Image editing
Starting price $0.10 / run
By ByteDance
Edit a photo or combine reference images in Seedream 5.5. Describe the specific change and name the details you want to carry into the result.
bytedance/seedream/v5.5/editThis model has other modes with their own ids: bytedance/seedream/v5.5/text-to-image.
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": "bytedance/seedream/v5.5/edit",
"input": {
"prompt": "Replace the grey sofa with a dark green velvet one and add a round wooden side table next to it. Keep the walls, the window and the afternoon light exactly as they are.",
"image_urls": [
"https://example.com/input.png"
]
}
}'
# 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": "bytedance/seedream/v5.5/edit", "quote_id": "QUOTE_ID", "input": {"prompt":"Replace the grey sofa with a dark green velvet one and add a round wooden side table next to it. Keep the walls, the window and the afternoon light exactly as they are.","image_urls":["https://example.com/input.png"]}}'
# 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 used to edit the image. |
image_size | string (enum) | The size of the image: a preset, or a width and height of 921,600 to 4,624,220 pixels in total, at most 16:1 either way. |
num_images | integer | Number of images to generate from the prompt. |
output_format | string (enum) | The file format of the generated image. |
watermark | boolean | Whether to add a visible watermark. |
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. |
background | string (enum) | Auto lets the model choose from the prompt and the output format. Transparent returns a PNG with an alpha channel and needs PNG output. |
image_urlsrequired | array of image URLs | Up to 10 images to edit or combine. Refer to them in the prompt as the first image, the second image and so on. |
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.
Seedream 5.5 turns a prompt into an image at an automatic 1K, 1.5K or 2K size, or at a width and height you set. Ask for a transparent background and it returns a PNG with only the subject on it, ready to place on any design.
Its edit mode takes up to 10 reference images and changes only what you describe, so a room, a product or a face stays as it was around the edit. Each run returns up to six images to choose from.