Skip to main content
POST
/
api
/
v1
/
ai
/
llm
/
generate
Generate text
curl --request POST \
  --url https://flowra.dev/api/v1/ai/llm/generate \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "prompt": "<string>",
  "model": "<string>",
  "temperature": 0.7,
  "maxTokens": 4096,
  "systemPrompt": "<string>"
}
'

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

Response

Generated text