POST /accounts/{account_id}/ai/run/@cf/leonardo/lucid-origin
Servers
- https://api.cloudflare.com/client/v4
Path parameters
Name | Type | Required | Description |
---|---|---|---|
account_id |
String | Yes |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
queueRequest |
String | No |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
guidance |
Number | No |
Controls how closely the generated image should adhere to the prompt; higher values make the image more aligned with the prompt Default value: 4.5 |
prompt |
String | Yes |
A text description of the image you want to generate. |
seed |
Integer | No |
Random seed for reproducibility of the image generation |
height |
Integer | No |
The height of the generated image in pixels Default value: 1120 |
width |
Integer | No |
The width of the generated image in pixels Default value: 1120 |
steps |
Integer | No |
The number of diffusion steps; higher values can improve quality but take longer |
num_steps |
Integer | No |
The number of diffusion steps; higher values can improve quality but take longer |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.