Skip to main content
POST
cURL

Autorizaciones

Authorization
string
header
requerido

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

Parámetros de ruta

baseId
string
requerido

Cuerpo

application/json
prompt
string
requerido
task
enum<string>

Quick model selection via predefined task type

Opciones disponibles:
coding,
embedding,
translation
Ejemplo:

"coding"

modelKey
string

Specify an exact model configuration to use

Ejemplo:

"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.

Opciones disponibles:
none,
low,
medium,
high

Respuesta

201 - application/json

Returns ai generate stream.

result
string
requerido
Última modificación el 15 de septiembre de 2026