CommunityJoin our DiscordJoin
API Reference

Pricing

Credits-based pricing with quote support

Credits-based pricing

ThankYou uses credits. Purchase credits and consume them per generation -- no subscriptions, no minimums.

Sample pricing

Image generation

ModelCredits
flux/v2/pro/text-to-image0.8
flux/v2/dev/text-to-image0.5
bytedance/seedream/v5/lite/text-to-image0.5
google/nano-banana/v2/text-to-image0.3

Video generation

ModelCredits
wan/v2.6/text-to-video3.0
bytedance/seedance/v2/text-to-video3.0
kling/v3.0/pro/text-to-video4.0
kling/v3.0/standard/text-to-video2.0
google/veo/v3.1/text-to-video4.0

Audio

ModelCredits
fish-audio/text-to-speech0.2
elevenlabs/sound-effect0.3

Prices vary by model and parameters (duration, resolution). Use the quote endpoint for exact costs.

Quote endpoint

Get the exact cost before committing:

curl -X POST https://api.thankyouai.com/open/v1/generate/quote \
  -H "Authorization: Bearer $THANKYOU_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "wan/v2.6/text-to-video",
    "input": { "prompt": "A sunset", "duration": "10" }
  }'
{
  "quote_id": "quote_abc123",
  "estimated_cost": 6.0,
  "currency": "points",
  "expires_at": "2026-03-29T10:10:00Z"
}

Billing lifecycle

Every generation follows freeze-confirm-release:

  1. Submitted -- credits are frozen (reserved)
  2. Succeeded -- credits are confirmed (deducted)
  3. Failed / Cancelled -- credits are released (returned)

You are never charged for failed generations.

Usage tracking

Every response includes usage:

{
  "usage": {
    "credits_consumed": 3.0,
    "currency": "points"
  }
}

Spending limits

Set per-key spending limits in Dashboard > Settings > API Keys. When a key hits its limit, requests return 402 quota_exceeded.