POST /accounts/{account_id}/ai/run/@cf/leonardo/phoenix-1.0
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: 2 |
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: 1024 |
width |
Integer | No |
The width of the generated image in pixels Default value: 1024 |
negative_prompt |
String | No |
Specify what to exclude from the generated images |
num_steps |
Integer | No |
The number of diffusion steps; higher values can improve quality but take longer Default value: 25 |
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.