Bria AI Edit & Auto Download

Autonomously executes Bria AI operations, polls the status, and downloads the generated image

Blend Images

AI-generated

Summary

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.

Links

Discussion