ApiframeApiframe Docs

Credit Costs

How many credits each model and variant costs per generation.

Every generation deducts credits from your team's balance at submission time. If a job fails, the credits are automatically refunded.

You can check your current balance via the Account endpoint or in the Apiframe console.

Image generation

Models tagged × n multiply by the number of images requested in the call (n, number_of_images, or num_images depending on the model).

ModelVariantCredits per generation
Midjourney16
MidjourneyUpsample4
MidjourneyVariation16
MidjourneyInpaint16
MidjourneyOutpaint16
MidjourneyPan16
Kling Image2 × n
Nano Banana8
Nano Banana Pro1K / 2K26
Nano Banana Pro4K52
Nano Banana 21K12
Nano Banana 22K18
Nano Banana 24K26
Flux 1.1 Pro8
Flux 1.1 Pro Ultra12
Flux 2 Pro0.5MP6
Flux 2 Pro1MP6
Flux 2 Pro2MP10
Flux 2 Pro4MP14
Flux 2 Dev6
Flux 2 Flex0.5MP10
Flux 2 Flex1MP20
Flux 2 Flex2MP20
Flux 2 Flex4MP40
Flux 2 Max0.5MP12
Flux 2 Max1MP12
Flux 2 Max2MP16
Flux 2 Max4MP28
Seedream 36
Seedream 3.16
Seedream 46
Seedream 4.58
Seedream 5 Lite8
Ideogram V214
Ideogram V2 Turbo9
Ideogram V2a7
Ideogram V2a Turbo6
Ideogram V3 Balanced11
Ideogram V3 Turbo6
Ideogram V3 Quality16
Ideogram CharacterTurbo17
Ideogram CharacterDefault26
Ideogram CharacterQuality34
Reve Create6
Imagen 39
Imagen 3 Fast6
Imagen 47
Imagen 4 Ultra11
Imagen 4 Fast4
DALL-E 321
DALL-E 24
GPT Image 1.5Low4 × n
GPT Image 1.5Medium9 × n
GPT Image 1.5Auto24 × n
GPT Image 1.5High24 × n
GPT Image 2Low4 × n
GPT Image 2Medium9 × n
GPT Image 2Auto23 × n
GPT Image 2High23 × n
Qwen Image6 × n
Qwen Image 27
Qwen Image 2 Pro14
Wan Image 2.66
Wan Image 2.76
Wan Image 2.7 Pro6
Grok Imagine Image4
Flux LoRA (AI Photos inference)2 × num_outputs

AI Photos (LoRA training)

POST /v2/loras — train a Flux LoRA from 15-30 subject photos.

StepCreditsNotes
LoRA create (upload + caption + zip)2Charged at submission. Refunded on failure.
LoRA training255Charged just before training starts. Refunded if training fails.
Inference per image2See Flux LoRAnum_outputs of 1-4 supported.

Video generation

Per-clip pricing

ModelVariantCredits
Midjourney Video48
Kling 2.1Standard 5s43
Kling 2.1Standard 10s85
Kling 2.1Pro 5s77
Kling 2.1Pro 10s153
Kling 2.1 Master5s238
Kling 2.1 Master10s476
Kling 2.5 Turbo Pro5s60
Kling 2.5 Turbo Pro10s119
Kling 2.65s60
Kling 2.65s + audio119
Kling 2.610s119
Kling 2.610s + audio238
Sora 24s68
Sora 28s136
Sora 210s170
Sora 212s204
Sora 215s255
Sora 2 ProStandard · 4s204
Sora 2 ProStandard · 8s408
Sora 2 ProStandard · 10s510
Sora 2 ProStandard · 12s612
Sora 2 ProStandard · 15s765
Sora 2 ProHigh · 4s340
Sora 2 ProHigh · 8s680
Sora 2 ProHigh · 10s850
Sora 2 ProHigh · 12s1020
Sora 2 ProHigh · 15s1275
Seedance 1 Lite480p · 5s16
Seedance 1 Lite720p · 5s31
Seedance 1 Lite1080p · 5s62
Seedance 1 Lite480p · 10s31
Seedance 1 Lite720p · 10s62
Seedance 1 Lite1080p · 10s123
Seedance 1 Pro480p · 5s26
Seedance 1 Pro720p · 5s51
Seedance 1 Pro1080p · 5s128
Seedance 1 Pro480p · 10s51
Seedance 1 Pro720p · 10s102
Seedance 1 Pro1080p · 10s255
Seedance 1 Pro Fast480p · 5s13
Seedance 1 Pro Fast720p · 5s22
Seedance 1 Pro Fast1080p · 5s51
Seedance 1 Pro Fast480p · 10s26
Seedance 1 Pro Fast720p · 10s43
Seedance 1 Pro Fast1080p · 10s102
Seedance 1.5 Pro480p · 4s9
Seedance 1.5 Pro720p · 4s18
Seedance 1.5 Pro1080p · 4s41
Seedance 1.5 Pro480p · 4s + audio17
Seedance 1.5 Pro720p · 4s + audio36
Seedance 1.5 Pro1080p · 4s + audio82
Seedance 1.5 Pro480p · 8s17
Seedance 1.5 Pro720p · 8s36
Seedance 1.5 Pro1080p · 8s82
Seedance 1.5 Pro480p · 8s + audio34
Seedance 1.5 Pro720p · 8s + audio71
Seedance 1.5 Pro1080p · 8s + audio164
Seedance 1.5 Pro480p · 12s26
Seedance 1.5 Pro720p · 12s54
Seedance 1.5 Pro1080p · 12s123
Seedance 1.5 Pro480p · 12s + audio51
Seedance 1.5 Pro720p · 12s + audio107
Seedance 1.5 Pro1080p · 12s + audio245
Veo 25s425
Veo 26s510
Veo 27s595
Veo 28s680
Veo 3 / Veo 3.14s136
Veo 3 / Veo 3.16s204
Veo 3 / Veo 3.18s272
Veo 3 / Veo 3.14s + audio272
Veo 3 / Veo 3.16s + audio408
Veo 3 / Veo 3.18s + audio544
Veo 3 Fast / Veo 3.1 Fast4s68
Veo 3 Fast / Veo 3.1 Fast6s102
Veo 3 Fast / Veo 3.1 Fast8s136
Veo 3 Fast / Veo 3.1 Fast4s + audio102
Veo 3 Fast / Veo 3.1 Fast6s + audio153
Veo 3 Fast / Veo 3.1 Fast8s + audio204
Hailuo 02768p · 6s46
Hailuo 02768p · 10s77
Hailuo 021080p · 6s82
Hailuo 2.3768p · 6s48
Hailuo 2.3768p · 10s96
Hailuo 2.31080p · 6s84
Hailuo 2.3 Fast768p · 6s33
Hailuo 2.3 Fast768p · 10s55
Hailuo 2.3 Fast1080p · 6s57
Luma Ray 25s153
Luma Ray 29s276
Luma Ray Flash 25s51
Luma Ray Flash 29s92
Wan 2.5480p · 5s43
Wan 2.5720p · 5s85
Wan 2.51080p · 5s128
Wan 2.5480p · 10s85
Wan 2.5720p · 10s170
Wan 2.51080p · 10s255
Wan 2.5 Fast720p · 5s58
Wan 2.5 Fast1080p · 5s116
Wan 2.5 Fast720p · 10s87
Wan 2.5 Fast1080p · 10s174
Wan 2.6720p · 5s85
Wan 2.61080p · 5s128
Wan 2.6720p · 10s170
Wan 2.61080p · 10s255
Wan 2.6720p · 15s255
Wan 2.61080p · 15s383
Wan 2.6 Flash720p · 5s43
Wan 2.6 Flash1080p · 5s64
Wan 2.6 Flash720p · 10s85
Wan 2.6 Flash1080p · 10s128
Wan 2.6 Flash720p · 15s128
Wan 2.6 Flash1080p · 15s192
Runway Gen4 Turbo5s43
Runway Gen4 Turbo10s85
Runway Gen4.55s102
Runway Gen4.510s204
Grok Imagine Video6s54
Grok Imagine Video10s90
Grok Imagine Video15s135

Per-second pricing

credits = rate × duration. The route probes the requested duration (or input video length, for wan-2.7-r2v) and bills accordingly.

ModelVariantCredits / second
Kling 3.0Standard29
Kling 3.0Pro39
Kling 3.0Standard + audio43
Kling 3.0Pro + audio58
Seedance 2480p14
Seedance 2720p31
Seedance 21080p77
Seedance 2480p · ref-video17
Seedance 2720p · ref-video38
Seedance 21080p · ref-video94
Seedance 2 Fast480p12
Seedance 2 Fast720p25
Seedance 2 Fast480p · ref-video14
Seedance 2 Fast720p · ref-video31
Wan 2.7T2V · 720p17
Wan 2.7T2V · 1080p17
Wan 2.7I2V · 720p17
Wan 2.7I2V · 1080p26
Wan 2.7 R2Vany resolution17

Image editing

POST /v2/images/upscale, POST /v2/images/background-remove, POST /v2/images/edit — Upscale, background removal, inpainting and outpainting.

ModelVariantCredits per generation
Topaz Image Upscale≤ 12 MP output9
Topaz Image Upscale≤ 24 MP output9
Topaz Image Upscale≤ 36 MP output17
Topaz Image Upscale≤ 48 MP output17
Topaz Image Upscale≤ 60 MP output26
Topaz Image Upscale≤ 96 MP output34
Topaz Image Upscale≤ 132 MP output41
Topaz Image Upscale≤ 168 MP output50
Topaz Image Upscale≤ 336 MP output91
Topaz Image Upscale≤ 512 MP output140
Clarity Upscaler3
Bria Background Remove4
851-labs Background Remove2
Flux Fill Pro (inpaint or outpaint)9

The Topaz output-megapixel tier is computed automatically from the input image's dimensions × upscale_factor² and rounded up to the next configured row.

Video editing

POST /v2/videos/upscale — Topaz video upscale and frame interpolation.

Pricing is per second of input video, tiered by output resolution × output fps. The route probes the input duration via ffprobe at submit time and charges cost-per-second × ceil(duration).

ModelVariantCredits / second of input
Topaz Video Upscale720p · 24 fps1
Topaz Video Upscale720p · 30 fps1
Topaz Video Upscale720p · 60 fps2
Topaz Video Upscale1080p · 24 fps4
Topaz Video Upscale1080p · 30 fps4
Topaz Video Upscale1080p · 60 fps7
Topaz Video Upscale4K · 24 fps13
Topaz Video Upscale4K · 30 fps13
Topaz Video Upscale4K · 60 fps26
Wan 2.7 VideoEditany resolution17

Music generation

ModelVariantCredits per generation
Suno11
SunoExtend11
SunoCover11
SunoAdd Vocals11
SunoStems11
Udio9
Producer6
Lyria 3 Clip7
Lyria 3 Pro14
ElevenLabs Music≤ 30s (short)26
ElevenLabs Music≤ 120s (medium)102
ElevenLabs Music> 120s (long)255
Mureka1 song (n=1)6
Mureka2 songs (n=2)12
Mureka3 songs (n=3)18

How credits work

  • Deducted at submission — credits are reserved the moment you send a generation request.
  • Refunded on failure — if a job fails (provider error, content policy violation, etc.), the full credit cost is returned to your balance.
  • Snapshotted per job — the creditCost field on a job reflects the cost at the time of submission, even if pricing changes later.
  • Team-scoped — credits belong to your team, not individual users. All team members share the same balance.

Checking your balance

curl https://api.apiframe.ai/v2/me \
  -H "X-API-Key: afk_your_api_key_here"

The response includes your current credit balance:

{
  "id": "...",
  "email": "...",
  "team": {
    "id": "...",
    "credits": 850
  }
}

On this page