v1
latestOpenAPI 3.0.02026-07-13650400.5 KBReimagine
Description The /reimagine endpoint in Bria’s API allows guiding image generation not just with prompts but also by using an input image. This feature retains the original structure and depth of the input while incorporating new materials, colors, and textures to create fresh visuals.
Key Benefits
-
Simplified Structure Guidance: Use a reference image to replicate its outline and depth, reducing the need for complex prompts and minimizing trial and error.
-
Versatile Input/Output Pairings:
- Convert illustrations, sketches, or photos into new illustrative outputs.
- Transform photos into variations that maintain the original layout.
-
Adjustable Structure Influence: Control how much the input image's structure impacts the output on a scale from 0 to 1, allowing for diverse creative results.
-
Aspect Ratio Preservation: Ensures the output maintains the reference image's aspect ratio for layout consistency. The output resolution is approximately 1 megapixel.
-
Seamless Integration with Tailored Generation: Combine structural references with tailored models to include unique IP characteristics in the generated outputs. At the moment, tailored models trained using the 'Max' training version, are not supported in this endpoint.
Potential Use Cases
Enhanced Creative Control for Platforms & Editing Tools
Empower creative platforms and editing tools with advanced levels of control and flexibility for generating visual content.
-
Maintain Spatial Consistency
Structure reference image
<img src="https://bria-datasets.s3.us-east-1.amazonaws.com/api_doc/reimagine/Untitled+design+(10)+(1).png" width="200" height="200"/>Generated Visual (combined into a gif)
<img src="https://bria-datasets.s3.us-east-1.amazonaws.com/api_doc/reimagine/ezgif-3-6a1c2d26ed+(1).gif" width="200" height="200"/> -
Convert Sketches to Illustrations
Structure reference image
<img src="https://bria-datasets.s3.us-east-1.amazonaws.com/api_doc/reimagine/iStock-1507967542+(1).jpg" height="200"/>prompt: A watercolor painting of a lively urban street featuring a red vintage car parked in front of multi-story buildings, where soft, fluid brushstrokes capture the subtle gradients in the building facades, with warm earth tones blending into cool blues and grays for the shadows, giving the scene a nostalgic and dreamy atmosphere.
structure_ref_influence: 0.75
Generated Visual
<img src="https://bria-datasets.s3.us-east-1.amazonaws.com/api_doc/reimagine/A_watercolor_painting_of_a_lively_urban_street_featuring_a_red_vintage_car_parke_undefined+(2).png" height="200"/> -
Generate Diverse Variations
Structure reference image
<img src="https://bria-datasets.s3.us-east-1.amazonaws.com/api_doc/reimagine/cute-scottish-straight-kitten-playing-with-balls-o-2023-11-27-05-13-57-utc+(1)+(1).jpg" height="200"/>prompt: A ginger kitten sits on a textured beige surface, surrounded by soft balls of yarn.
structure_ref_influence: 0.75
Generated Visual
<img src="https://bria-datasets.s3.us-east-1.amazonaws.com/api_doc/reimagine/seed_1405021285.png" height="200"/> -
Stylize Typography and Logos
Structure reference image
<img src="https://bria-datasets.s3.us-east-1.amazonaws.com/api_doc/reimagine/BRIA+(1)+(1).png" width="200" height="200"/>prompt: curled orange peel.
structure_ref_influence: 0.1
Generated Visual
<img src="https://bria-datasets.s3.us-east-1.amazonaws.com/api_doc/reimagine/curled_orange_peel_undefined+(1).png" width="200" height="200"/>
Interoperability with Tailored Generation
-
Reskin Gaming Assets: Maintain the structure and detail of assets while updating textures and colors for fresh looks without altering the original shape or layout.
-
Iterate on Gaming Asset Designs: Simplifies design iteration for gaming assets, enabling rapid exploration and refinement.
-
Customize Marketing Assets: Transform marketing visuals while preserving their composition, adding new styles and elements with structural guidance.
-
Adapt User-Generated Content: Repurpose user-generated content for marketing campaigns, making it fit seamlessly with brand aesthetics.
For practical tips, view our guide here.
Headers
Request body
Response
Successful operation.