← All models
Structure Reference allows generating new images while preserving the structure of an input image, guided by text prompts. Perfect for transforming sketches, illustrations, or photos into new illustrations. Trained exclusively on licensed data for safe and risk-free commercial use.
images
Details
- Accepts
- text + image
Pricing
- Price
- 5 cr / request
Prices in credits (1 credit = $0.01).
Data schema
Input
| Field | Type | Description |
|---|---|---|
| fast | boolean | Whether to use the fast model |
| seed | — | The same seed and the same prompt given to the same version of the model will output the same image every time. |
| promptrequired | string | The prompt you would like to use to generate images. |
| sync_mode | boolean | If `True`, the media will be returned as a data URI and the output data won't be available in the request history. |
| num_results | integer | How many images you would like to generate. When using any Guidance Method, Value is set to 1. |
| num_inference_steps | integer | The number of iterations the model goes through to refine the generated image. This parameter is optional. |
| structure_image_url | string | The URL of the structure reference image. Use "" to leave empty. Accepted formats are jpeg, jpg, png, webp. |
| structure_ref_influence | number | The influence of the structure reference on the generated image. Must be between 0 and 1. |
Output
| Field | Type | Description |
|---|---|---|
| seed | integer | Seed value used for generation. |
| images | array | The generated images |