Skip to main content

flux

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

Overview

Nameflux
TypeResource
Idcloudflare.ai.flux

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_deepgram_fluxinsertaccount_id, sample_rate, encodingqueueRequest, tagsRuns inference on the @cf/deepgram/flux 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/deepgram/flux model.

INSERT INTO cloudflare.ai.flux (
eager_eot_threshold,
encoding,
eot_threshold,
eot_timeout_ms,
keyterm,
mip_opt_out,
sample_rate,
tag,
account_id,
queueRequest,
tags
)
SELECT
'{{ eager_eot_threshold }}',
'{{ encoding }}' /* required */,
'{{ eot_threshold }}',
'{{ eot_timeout_ms }}',
'{{ keyterm }}',
'{{ mip_opt_out }}',
'{{ sample_rate }}' /* required */,
'{{ tag }}',
'{{ account_id }}',
'{{ queueRequest }}',
'{{ tags }}'
;