OneAI
Docs
POST /v1/generatetypeinputoptions
Reference: Generate
POST /v1/generate — the primary execution endpoint.
Request
Route by type. Validate output against schema.
{
"type": "viral_hook",
"input": { "topic": "string", "details": "string" },
"options": { "templateVersion": 1, "maxAttempts": 3 }
}