Skip to main content

flux_1_schnell

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

Overview

Nameflux_1_schnell
TypeResource
Idcloudflare.ai.flux_1_schnell

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_black_forest_labs_flux_1_schnellinsertaccount_id, promptqueueRequest, tagsRuns inference on the @cf/black-forest-labs/flux-1-schnell 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/black-forest-labs/flux-1-schnell model.

INSERT INTO cloudflare.ai.flux_1_schnell (
prompt,
steps,
account_id,
queueRequest,
tags
)
SELECT
'{{ prompt }}' /* required */,
{{ steps }},
'{{ account_id }}',
'{{ queueRequest }}',
'{{ tags }}'
;