This walks you through the typical generation flow end-to-end: authenticate, pick a model, estimate cost, generate, and retrieve results.Documentation Index
Fetch the complete documentation index at: https://docs.layer.ai/llms.txt
Use this file to discover all available pages before exploring further.
1. Get your API token
- Log in to app.layer.ai
- Go to Settings > Personal Access Tokens
- Click Create Token, name it, and copy the value
2. Pick a model
List models and choose one that fits your use case:id of the model you want to use.
3. Estimate cost
Check how many Creative Units the generation will consume:4. Generate
inference_id and status: "IN_PROGRESS".
5. Poll for results
status is COMPLETED, the response includes URLs to your generated assets.
Next steps
- Browse the API reference for full endpoint details and parameter documentation
- Upload reference images to guide generation with your own art style
- Use workflows to run multi-step pipelines