Skip to main content

lucid_origin

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

Overview

Namelucid_origin
TypeResource
Idcloudflare.ai.lucid_origin

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_lucid_origininsertaccount_id, promptqueueRequest, tagsRuns inference on the @cf/leonardo/lucid-origin 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/lucid-origin model.

INSERT INTO cloudflare.ai.lucid_origin (
guidance,
height,
num_steps,
prompt,
seed,
steps,
width,
account_id,
queueRequest,
tags
)
SELECT
{{ guidance }},
{{ height }},
{{ num_steps }},
'{{ prompt }}' /* required */,
{{ seed }},
{{ steps }},
{{ width }},
'{{ account_id }}',
'{{ queueRequest }}',
'{{ tags }}'
;