Dataset
Refine Structured Prompt
Refines a Structured Prompt object (such as a Visual Schema or an Image Caption) based on user instructions.
Access Control & Validation:
- Requires a valid dataset_id to verify ownership.
- The referenced dataset must be in draft mode.
Use Cases:
- Refine Visual Schema: Input the initial schema and instructions like "Make the style description more detailed".
- Refine Image Caption: Input a specific image's caption and instructions like "Fix the description of the hair color".
post/tailored-gen/refine_structured_prompt
Request
- Base URL: https://engine.prod.bria-api.com/v1
- URL: https://engine.prod.bria-api.com/v1/tailored-gen/refine_structured_prompt
- Auth: none declared. Required headers: api_token
Headers
api_tokenstring required
Request body
Response
Successfully refined JSON.
Changes
No recorded changes to this operation across all 1 revision of this API.