Search + K

Command Palette

Search for a command to run...

Sign In

Execute @cf/google/gemma-3-12b-it model.

POST /accounts/{account_id}/ai/run/@cf/google/gemma-3-12b-it
Copy endpoint
https://api.cloudflare.com/client/v4

Parameters

path Path Parameters

Name Type
account_id required
string

query Query Parameters

Name Type
queueRequest
string

Request Body

application/json
{
frequency_penalty?: number;
guided_json?: {};
max_tokens?: number;
presence_penalty?: number;
prompt: string;
raw?: boolean;
repetition_penalty?: number;
seed?: number;
stream?: boolean;
temperature?: number;
top_k?: number;
top_p?: number;
}
| {
frequency_penalty?: number;
functions?: { code: string;name: string; }[];
guided_json?: {};
max_tokens?: number;
messages: { content?: { image_url?: { ... };text?: string;type?: string; } | { image_url?: { ... };text?: string;type?: string; }[] | string;role?: string; }[];
presence_penalty?: number;
raw?: boolean;
repetition_penalty?: number;
seed?: number;
stream?: boolean;
temperature?: number;
tools?: ({ description: string;name: string;parameters: { properties: { ... };required?: string[];type: string; }; } | { function: { description: string;name: string;parameters: { ... }; };type: string; })[];
top_k?: number;
top_p?: number;
}

Responses

200 application/json

Object with user data.

{}

Client Errors

400 application/json

Bad request

{ errors: { code: string;message: string; }[];result: {};success: boolean; }