Seedream 5.5
Text to image · Image editing
Starting price $0.05 / image
By Krea
Krea 2 Medium turns a written prompt into an image in eight aspect ratios, with a creativity setting that decides how freely it reads your words.
krea/v2/medium/text-to-imageQuote 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": "krea/v2/medium/text-to-image",
"input": {
"prompt": "A lone diner on a desert highway at night, neon sign glowing pink, a single car parked outside, wide cinematic framing with deep blue sky."
}
}'
# 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": "krea/v2/medium/text-to-image", "quote_id": "QUOTE_ID", "input": {"prompt":"A lone diner on a desert highway at night, neon sign glowing pink, a single car parked outside, wide cinematic framing with deep blue sky."}}'
# 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 | Text description of the image to generate. |
aspect_ratio | string (enum) | Aspect ratio of the generated image. |
creativity | string (enum) | Controls how loosely the model interprets the prompt. Higher values produce more creative results that may drift from the prompt; lower values stay closer to the prompt. |
seed | integer | Random seed for reproducible generation. |
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.
Krea 2 Medium makes an image from a prompt of up to 5000 characters, in shapes from 1:1 to a wide 2.35:1 and a tall 9:16.
The creativity setting runs from raw to high: lower settings stay close to the prompt, higher ones take more liberties and may drift from it.
Check subject placement and whether styling obscured required details. Compare results at the same displayed size.