This quickstart gets you from zero to a completed image task using the official JavaScript and TypeScript SDK.Documentation Index
Fetch the complete documentation index at: https://docs.mynth.io/llms.txt
Use this file to discover all available pages before exploring further.
Create an API key
Create a key in the Mynth dashboard.If you work with multiple environments, create separate keys and set a spending limit for each one.
Generate an image
generate() waits for completion. The returned task is already a completed task object, so task.urls contains the successful image URLs immediately.What to read next
Async and Polling
Learn when to use sync, async, polling, and browser-safe access tokens.
Use Webhooks
Send results to your backend automatically.
Request Reference
See every request field that Mynth accepts.
SDK Tasks
Understand
Task, TaskAsync, and polling behavior in detail.