Actions23
- Add Object by Text
- Blend Images
- Blur Background
- Colorize
- Crop out Foreground
- Enhance Image
- Erase (Mask-based)
- Erase Foreground
- Erase Object by Text
- Expand Image (Outpainting)
- Generate Structured Instruction
- Generative Fill
- Image Edit by Text (FIBO)
- Increase Resolution (Upscaling)
- Relight Image
- Remove Background
- Replace Background
- Replace Object by Text
- Reseason Image
- Restore Old Images
- Restyle Image
- Rewrite (Text in Image)
- Sketch to Image
Blend Images
AI-generatedSummary
Blend two images using a text prompt via Bria AI, polling until completion and returning the blended image as binary data along with the full API response.
Inputs
- imageUrl (required) — The URL of the first image (or a base64 encoded string).
- instruction (required) — The text prompt that guides how the two images are blended.
- second_image (required) — The URL of the second image to blend with the first.
- maxRetries — Maximum number of polling attempts (default: 30).
- waitTime — Delay between polling attempts in milliseconds (default: 3000).
Output shape
array
Each workflow execution returns an array with a single item containing both JSON and binary data. The item's JSON field holds the full Bria AI response. The binary field contains the blended image under the key 'data' (PNG).
Examples
Example 1: Combine a product photo with a background using a prompt like 'add a wooden table'.
Set Image URL to the product image, Second Image URL to the background image, Instruction to the desired blend description, and optionally adjust Max Retries and Wait Time.