Qwen Lighting Restoration
Image editing
Starting price $0.06 / megapixel
Bria's FIBO Edit relights a photo: pick where the light comes from and what kind of light it is, with no prompt to write.
bria/fibo-edit/relightQuote 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/relight",
"input": {
"image_url": "https://example.com/input.png",
"light_direction": "front",
"light_type": "midday"
}
}'
# 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/relight", "quote_id": "QUOTE_ID", "input": {"image_url":"https://example.com/input.png","light_direction":"front","light_type":"midday"}}'
# 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. |
light_directionrequired | string (enum) | Where the light comes from. |
light_typerequired | string (enum) | The quality/style/time of day. |
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 a photo, then choose a direction (front, side, bottom or top-down) and a light type. The types cover times of day such as midday, sunrise and blue hour, weather such as overcast or fog, night light from the moon or stars, and studio looks such as a spotlight or soft bokeh.
Compare the result with your source, especially object boundaries, fine text, faces and shadows.