Skip to main content
POST
Generate text

Authorizations

x-api-key
string
header
required

Project API key. Create and manage keys in the dashboard under Project → API Keys. Send as header: x-api-key:

Body

application/json
prompt
string
required

Prompt for text generation

Maximum string length: 400000
Example:

"Summarize this meeting in three bullets."

model
string

Model ID (e.g. openai/gpt-4o-mini)

Example:

"openai/gpt-4o-mini"

temperature
number
default:0.7

Temperature (0-2)

Example:

0.7

maxTokens
number
default:4096

Max tokens in response

Example:

1024

systemPrompt
string

System prompt to set context

Example:

"You are a concise meeting assistant."

Response

200 - application/json

Generated text

success
boolean
required

Success status

Example:

true

message
string
required

Success message

Example:

"Operation completed successfully"

data
string
required

Response data

Example:

""