Skip to main content
POST
cURL

Autorizzazioni

Authorization
string
header
obbligatorio

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parametri del percorso

baseId
string
obbligatorio

Corpo

application/json
prompt
string
obbligatorio
task
enum<string>

Quick model selection via predefined task type

Opzioni disponibili:
coding,
embedding,
translation
Esempio:

"coding"

modelKey
string

Specify an exact model configuration to use

Esempio:

"openai@gpt-4o@custom-name"

reasoningEffort
enum<string>

Reasoning effort forwarded to the provider. 'none' suppresses hidden thinking tokens entirely — for latency-critical structured output, thinking time is time-to-first-token.

Opzioni disponibili:
none,
low,
medium,
high

Risposta

201 - application/json

Returns ai generate stream.

result
string
obbligatorio