Skip to main content

phoenix_1_0

Creates, updates, deletes, gets or lists a phoenix_1_0 resource.

Overview

Namephoenix_1_0
TypeResource
Idcloudflare.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:

NameAccessible byRequired ParamsOptional ParamsDescription
workers_ai_post_run_cf_leonardo_phoenix_1_0insertaccount_id, promptqueueRequest, tagsRuns 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.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.
queueRequeststring
tagsstring

INSERT examples

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 }}'
;