Bria AI Edit & Auto Download

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

Generate Structured Instruction

AI-generated

Summary

Generate structured instruction for Bria AI, send the image and prompt to the API, poll status, and return the complete JSON response.

Inputs

  • imageUrl (required) — The URL of the image. Alternatively, you can pass a base64 encoded string.
  • instruction (required) — The text prompt, instruction, color, season, or style to apply.
  • maxRetries — Maximum number of times to poll the status URL.
  • waitTime — Time to wait between polling attempts in milliseconds.

Output shape

The full JSON response from the Bria AI structured instruction endpoint, including processing status and generated data. The image is not downloaded.

Returned as the item's json field.

Examples

Example 1: Workflow author passes an image URL and a descriptive prompt; the node returns the API's structured JSON result after generation completes.

imageUrl: https://example.com/input.jpg; instruction: winter scene; maxRetries: 30; waitTime: 3000

Links

Discussion