phoenix_1_0
Creates, updates, deletes, gets or lists a phoenix_1_0 resource.
Overview
| Name | phoenix_1_0 |
| Type | Resource |
| Id | cloudflare.ai.phoenix_1_0 |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
workers_ai_post_run_cf_leonardo_phoenix_1_0 | insert | account_id, prompt | queueRequest, tags | Runs inference on the @cf/leonardo/phoenix-1.0 model. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
account_id | string | The Cloudflare account ID. |
queueRequest | string | |
tags | string |
INSERT examples
- workers_ai_post_run_cf_leonardo_phoenix_1_0
- Manifest
Runs inference on the @cf/leonardo/phoenix-1.0 model.
INSERT INTO cloudflare.ai.phoenix_1_0 (
guidance,
height,
negative_prompt,
num_steps,
prompt,
seed,
width,
account_id,
queueRequest,
tags
)
SELECT
{{ guidance }},
{{ height }},
'{{ negative_prompt }}',
{{ num_steps }},
'{{ prompt }}' /* required */,
{{ seed }},
{{ width }},
'{{ account_id }}',
'{{ queueRequest }}',
'{{ tags }}'
;
# Description fields are for documentation purposes
- name: phoenix_1_0
props:
- name: account_id
value: "{{ account_id }}"
description: Required parameter for the phoenix_1_0 resource.
- name: guidance
value: {{ guidance }}
description: |
Controls how closely the generated image should adhere to the prompt; higher values make the image more aligned with the prompt
default: 2
- name: height
value: {{ height }}
description: |
The height of the generated image in pixels
default: 1024
- name: negative_prompt
value: "{{ negative_prompt }}"
description: |
Specify what to exclude from the generated images
- name: num_steps
value: {{ num_steps }}
description: |
The number of diffusion steps; higher values can improve quality but take longer
default: 25
- name: prompt
value: "{{ prompt }}"
description: |
A text description of the image you want to generate.
- name: seed
value: {{ seed }}
description: |
Random seed for reproducibility of the image generation
- name: width
value: {{ width }}
description: |
The width of the generated image in pixels
default: 1024
- name: queueRequest
value: "{{ queueRequest }}"
- name: tags
value: "{{ tags }}"