latestOpenAPI 3.0.02026-08-10380208.8 KB
806c6d31631b
Image Generation
Generate Structured Prompt - Tailored Model
Description
Creates a new detailed, machine-readable structured prompt in JSON format or refines an existing one using text inputs and a tailored model's visual schema (backbone).
This endpoint uses the state-of-the-art Gemini 2.5 Flash VLM bridge. The tailored model's visual schema is provided as input to Gemini along with the user prompt to generate the structured prompt.
It returns ONLY the JSON string and does not generate an image.
Use Cases:
- Control & Auditability: Inspect or programmatically edit the JSON before generating an image.
- Consistency: Generate one structured_prompt and pass it to /image/generate/tailored multiple times.
- Hybrid Deployment: Use Bria's VLM bridge via API while hosting the FIBO image model on a private cloud.
Input Combination Rules The request body must use exactly one of the following combinations:
- Text Only: prompt
- Structured Prompt and Text: structured_prompt and prompt (Refinement)
post/structured_prompt/generate/tailored
Headers
api_tokenstring required
Request body
Response
Successful operation (Synchronous).