Skip to main content
POST
/
word
/
generate
Word Generate
curl --request POST \
  --url https://backend.overtenai.com/api/v1/word/generate \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "<string>",
  "mode": "action",
  "run_id": "<string>",
  "init_file": "<string>",
  "context_files": [
    "<unknown>"
  ],
  "data_sources": [
    {}
  ],
  "image_assets": [
    {}
  ],
  "brand": {},
  "async": false,
  "webhook_url": "<string>",
  "idempotency_key": "<string>",
  "file_name": "<string>",
  "timeout_ms": 905000
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Body

application/json
prompt
string
required
Required string length: 1 - 10000
mode
enum<string>
default:action
Available options:
action,
ask
run_id
string | null

Provide to resume an existing run

init_file
string | null

file_id of an initial document

context_files
any[] | null
data_sources
Data Sources · object[] | null
image_assets
Image Assets · object[] | null
brand
Brand · object
async
boolean
default:false
webhook_url
string | null
idempotency_key
string | null
file_name
string | null
timeout_ms
integer | null
Required range: 10000 <= x <= 1800000

Response

Successful Response