1. Get your API key
Before you call any API, you need aTT-API-KEY.
Step 1: Create your account
Sign in to TTAPI
Sign in to TTAPI
Go to TTAPI or open the TTAPI Dashboard. You can sign in with
GitHub or Google.Default API key and trial credit
Default API key and trial credit
After your account is created, TTAPI generates a default
TT-API-KEY. This key is used across all TTAPI endpoints.New accounts also receive 30 quota (about $0.30) in trial credit.Step 2: Basic account setup
Reset your TT-API-KEY
Reset your TT-API-KEY
For security, we recommend rotating the default key before production use. You can reset it directly from the dashboard homepage.
Password login
Password login
If you do not want to rely on GitHub or Google login later, use
Forgot password? on the login page and set a password for your TTAPI account.2. Add the request header
All requests must include your API key in the header:3. Send your first request
Step 1: Submit a generation request
The example below creates a Midjourney image task.Sample response
Step 2: Fetch the task result
Use the returnedjobId to poll the result:
Sample response
Task statuses
| Status | Meaning |
|---|---|
PENDING_QUEUE | Waiting in queue |
ON_QUEUE | Being processed |
SUCCESS | Completed successfully |
FAILED | Failed |
Popular next steps
- Start the Suno API Quickstart if you want to generate music instead of images.
- Read the Suno async workflow guide if your integration relies on webhooks or polling.
- Read the Suno workflow guide when you need the right Suno endpoint for your product.
Need help?
- For queue and concurrency limits, see Queue
- For request signing and headers, see Gateway & Auth
- For support, see Contact