Overview
The Generations API creates AI-powered content using pre-built templates with optional brand voice styling. Generate blog posts, social media content, email campaigns, product descriptions, and more. Each template has specificinput_data fields—list generation apps to discover available templates and their parameters.
Typical Flow
List generation apps
Call
GET /generation-apps to see available templates, their app_id, descriptions, and required input_data fields.Create a generation
Call
POST /generations with app_id, input_data (template-specific), optional brand_voice_id, and workspace_id. Some apps return immediately; others may run asynchronously (poll or use webhook if supported).Available Templates
Browse generation apps to find templates and their input structure:Creating Content
Passapp_id (from generation apps), input_data (fields required by that template), optional brand_voice_id, and workspace_id.
Common input_data Fields
Different templates expect different fields. Typical examples:| Field | Example | Description |
|---|---|---|
topic | ”Product launch” | Main subject |
target_audience | ”SMB owners” | Who it’s for |
tone | ”professional, friendly” | Writing tone |
length | ”500 words” | Desired length |
key_points | [“Feature A”, “Pricing”] | Bullet points to include |
platform | ”LinkedIn” | For social templates |
GET /generation-apps for the exact schema per template.
Response Format
status may be PENDING or RUNNING. Poll GET /generations/{id} until status is COMPLETED.
Polling for Completion (Async Generations)
Some templates process asynchronously. Poll untilstatus is COMPLETED:
List Generations
workspace_id, app_id, or paginate with cursor and limit.
Delete a Generation
Credit Costs
| Operation | Typical Cost |
|---|---|
| Create generation | 10–30 credits |
| Depends on template, output length | Longer content = more credits |
usage.credits_used in each response. See Credits for your plan.
Best Practices
Use brand voice for consistency
Use brand voice for consistency
Pass
brand_voice_id from a Brand Voice profile so output matches your tone and vocabulary.Be specific in input_data
Be specific in input_data
Clear
topic, target_audience, and key_points produce better output than vague prompts.List apps first
List apps first
Call
GET /generation-apps to discover templates and required fields before building your integration.Brand Voice
Create and use brand voice profiles
Credits
Credit allocation and tracking
API Reference
Full API specification