Skip to main content
POST
cURL

Авторизации

Authorization
string
header
обязательно

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

Параметры пути

baseId
string
обязательно

Тело

application/json
prompt
string
обязательно
task
enum<string>

Quick model selection via predefined task type

Доступные опции:
coding,
embedding,
translation
Пример:

"coding"

modelKey
string

Specify an exact model configuration to use

Пример:

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

Ответ

201 - application/json

Returns ai generate stream.

result
string
обязательно
Последнее изменение 4 сентября 2026 г.