Seedream 5.5
Text to image · Image editing
Starting price $0.05 / image
Bria's FIBO Edit [Replace Object by Text] swaps one object in a photo for another that you describe in a sentence.
bria/fibo-edit/replace_object_by_textQuote 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": "bria/fibo-edit/replace_object_by_text",
"input": {
"image_url": "https://example.com/input.png",
"instruction": "Replace the glass vase on the shelf with a tall ceramic jug in matte white."
}
}'
# 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": "bria/fibo-edit/replace_object_by_text", "quote_id": "QUOTE_ID", "input": {"image_url":"https://example.com/input.png","instruction":"Replace the glass vase on the shelf with a tall ceramic jug in matte white."}}'
# 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 |
|---|---|---|
image_urlrequired | string (image URL) | The source image. |
instructionrequired | string | The full natural language command describing what to replace. |
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.
Upload an image and write a full instruction that names the object to replace and what should take its place, for example "replace the paper cup with a glass of orange juice". The rest of the photo stays as it is.
Compare the result with your source, especially object boundaries, fine text, faces and shadows.