ApiframeDocs

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
Midjourney10
MidjourneyUpsample2
MidjourneyVariation10
MidjourneyInpaint10
MidjourneyOutpaint10
MidjourneyPan10
Kling Image2 × n
Nano Banana5
Nano Banana Pro1K / 2K19
Nano Banana Pro4K38
Nano Banana 21K8
Nano Banana 22K13
Nano Banana 24K19
Nano Banana 2 Lite4
Flux 1.1 Pro5
Flux 1.1 Pro Ultra8
Flux 2 Pro0.5MP3
Flux 2 Pro1MP4
Flux 2 Pro2MP6
Flux 2 Pro4MP9
Flux 2 Dev0.5MP1
Flux 2 Dev1MP2
Flux 2 Dev2MP3
Flux 2 Flex0.5MP4
Flux 2 Flex1MP8
Flux 2 Flex2MP15
Flux 2 Flex4MP30
Flux 2 Max0.5MP7
Flux 2 Max1MP9
Flux 2 Max2MP12
Flux 2 Max4MP20
Seedream 34
Seedream 3.14
Seedream 44
Seedream 4.55
Seedream 5 Lite4
Seedream 5.0 Pro1K6
Seedream 5.0 Pro2K11
Ideogram V210
Ideogram V2 Turbo6
Ideogram V2a5
Ideogram V2a Turbo3
Ideogram V3 Balanced8
Ideogram V3 Turbo4
Ideogram V3 Quality11
Ideogram V4 Balanced8
Ideogram V4 Turbo4
Ideogram V4 Quality12
Ideogram CharacterTurbo12
Ideogram CharacterDefault19
Ideogram CharacterQuality25
Stable Diffusion 3.5 Large8
Stable Diffusion 3.5 Large Turbo5
Stable Diffusion 3.5 Medium4
Stable Diffusion 34
Reve Create3
Imagen 36
Imagen 3 Fast3
Imagen 45
Imagen 4 Ultra8
Imagen 4 Fast2
DALL-E 315
DALL-E 22
GPT Image 1.5Low2 × n
GPT Image 1.5Medium6 × n
GPT Image 1.5Auto17 × n
GPT Image 1.5High17 × n
GPT Image 2Low2 × n
GPT Image 2Medium6 × n
GPT Image 2Auto16 × n
GPT Image 2High16 × n
Qwen Image3 × n
Qwen Image 24
Qwen Image 2 Pro9
Wan Image 2.64
Wan Image 2.74
Wan Image 2.7 Pro4
Grok Image 25
Grok Image Fast2
Flux LoRA (AI Photos inference)14 × num_outputs

AI Photos (LoRA training)

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

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

Video generation

Per-clip pricing

ModelVariantCredits
Midjourney Video48
Kling 2.1Standard 5s16
Kling 2.1Standard 10s31
Kling 2.1Pro 5s28
Kling 2.1Pro 10s56
Kling 2.1 Master5s88
Kling 2.1 Master10s175
Kling 2.5 Turbo Pro5s22
Kling 2.5 Turbo Pro10s44
Kling 2.65s22
Kling 2.65s + audio44
Kling 2.610s44
Kling 2.610s + audio88
Sora 24s50
Sora 28s100
Sora 210s125
Sora 212s150
Sora 215s188
Sora 2 ProStandard · 4s150
Sora 2 ProStandard · 8s300
Sora 2 ProStandard · 10s375
Sora 2 ProStandard · 12s450
Sora 2 ProStandard · 15s562
Sora 2 ProHigh · 4s250
Sora 2 ProHigh · 8s500
Sora 2 ProHigh · 10s625
Sora 2 ProHigh · 12s750
Sora 2 ProHigh · 15s938
Seedance 1 Lite480p · 5s11
Seedance 1 Lite720p · 5s22
Seedance 1 Lite1080p · 5s45
Seedance 1 Lite480p · 10s22
Seedance 1 Lite720p · 10s45
Seedance 1 Lite1080p · 10s90
Seedance 1 Pro480p · 5s19
Seedance 1 Pro720p · 5s38
Seedance 1 Pro1080p · 5s94
Seedance 1 Pro480p · 10s38
Seedance 1 Pro720p · 10s75
Seedance 1 Pro1080p · 10s188
Seedance 1 Pro Fast480p · 5s9
Seedance 1 Pro Fast720p · 5s16
Seedance 1 Pro Fast1080p · 5s38
Seedance 1 Pro Fast480p · 10s19
Seedance 1 Pro Fast720p · 10s31
Seedance 1 Pro Fast1080p · 10s75
Seedance 1.5 Pro480p · 4s6
Seedance 1.5 Pro720p · 4s13
Seedance 1.5 Pro1080p · 4s30
Seedance 1.5 Pro480p · 4s + audio12
Seedance 1.5 Pro720p · 4s + audio26
Seedance 1.5 Pro1080p · 4s + audio60
Seedance 1.5 Pro480p · 8s13
Seedance 1.5 Pro720p · 8s26
Seedance 1.5 Pro1080p · 8s60
Seedance 1.5 Pro480p · 8s + audio25
Seedance 1.5 Pro720p · 8s + audio52
Seedance 1.5 Pro1080p · 8s + audio120
Seedance 1.5 Pro480p · 12s20
Seedance 1.5 Pro720p · 12s39
Seedance 1.5 Pro1080p · 12s90
Seedance 1.5 Pro480p · 12s + audio38
Seedance 1.5 Pro720p · 12s + audio78
Seedance 1.5 Pro1080p · 12s + audio180
Veo 25s312
Veo 26s375
Veo 27s438
Veo 28s500
Veo 3 / Veo 3.14s100
Veo 3 / Veo 3.16s150
Veo 3 / Veo 3.18s200
Veo 3 / Veo 3.14s + audio200
Veo 3 / Veo 3.16s + audio300
Veo 3 / Veo 3.18s + audio400
Veo 3 Fast / Veo 3.1 Fast4s50
Veo 3 Fast / Veo 3.1 Fast6s75
Veo 3 Fast / Veo 3.1 Fast8s100
Veo 3 Fast / Veo 3.1 Fast4s + audio75
Veo 3 Fast / Veo 3.1 Fast6s + audio112
Veo 3 Fast / Veo 3.1 Fast8s + audio150
Hailuo 02768p · 6s34
Hailuo 02768p · 10s56
Hailuo 021080p · 6s60
Hailuo 2.3768p · 6s35
Hailuo 2.3768p · 10s70
Hailuo 2.31080p · 6s61
Hailuo 2.3 Fast768p · 6s24
Hailuo 2.3 Fast768p · 10s40
Hailuo 2.3 Fast1080p · 6s41
Luma Ray 25s112
Luma Ray 29s203
Luma Ray Flash 25s38
Luma Ray Flash 29s68
Wan 2.5480p · 5s31
Wan 2.5720p · 5s62
Wan 2.51080p · 5s94
Wan 2.5480p · 10s62
Wan 2.5720p · 10s125
Wan 2.51080p · 10s188
Wan 2.5 Fast720p · 5s43
Wan 2.5 Fast1080p · 5s64
Wan 2.5 Fast720p · 10s85
Wan 2.5 Fast1080p · 10s127
Wan 2.6720p · 5s62
Wan 2.61080p · 5s94
Wan 2.6720p · 10s125
Wan 2.61080p · 10s188
Wan 2.6720p · 15s188
Wan 2.61080p · 15s281
Wan 2.6 Flash720p · 5s31
Wan 2.6 Flash1080p · 5s47
Wan 2.6 Flash720p · 10s62
Wan 2.6 Flash1080p · 10s94
Wan 2.6 Flash720p · 15s94
Wan 2.6 Flash1080p · 15s141
Runway Gen4 Turbo5s31
Runway Gen4 Turbo10s62
Runway Gen4.55s75
Runway Gen4.510s150
Grok Video6s38
Grok Video10s62
Grok Video15s94
Grok Video 1.56s60
Grok Video 1.510s100
Grok Video 1.515s150

Per-second pricing

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

hailuo-03 also bills reference video at its per-second rate (output seconds + reference seconds), and charges a flat surcharge for each reference image past the first five. A base_video regen is billed at the 2k-regen rate on the probed source duration, with extra images at extra-image-regen.

wan-3.0 is announced but not yet launched, so requests for it are rejected until it ships. Its rate below is provisional and will be confirmed at launch.

flux-3 rates vary by resolution, draft mode, and whether the request continues an existing video. If you omit duration, the model picks any length from 5 to 20 seconds ("auto") and the request is billed at the 20-second maximum — pass an explicit duration for exact pricing.

ModelVariantCredits / second
Kling 3.0Standard11
Kling 3.0Pro14
Kling 3.0Standard + audio16
Kling 3.0Pro + audio21
Kling 3.04K26
Kling 3.04K + audio26
Kling 3.0 OmniStandard11
Kling 3.0 OmniPro14
Kling 3.0 OmniStandard + audio14
Kling 3.0 OmniPro + audio18
Kling 3.0 Omni4K26
Kling 3.0 Omni4K + audio26
Kling 3.0 Motion ControlStandard5
Kling 3.0 Motion ControlPro8
Seedance 2480p8
Seedance 2720p19
Seedance 21080p43
Seedance 24K170
Seedance 2480p · ref-video10
Seedance 2720p · ref-video23
Seedance 21080p · ref-video52
Seedance 24K · ref-video209
Seedance 2 Fast480p7
Seedance 2 Fast720p15
Seedance 2 Fast480p · ref-video8
Seedance 2 Fast720p · ref-video18
Seedance 2 Mini480p4
Seedance 2 Mini720p9
Seedance 2 Mini480p · ref-video5
Seedance 2 Mini720p · ref-video11
Seedance 2.5480p13
Seedance 2.5720p29
Seedance 2.5480p · ref-video15
Seedance 2.5720p · ref-video35
Wan 2.7T2V · 720p12
Wan 2.7T2V · 1080p12
Wan 2.7I2V · 720p12
Wan 2.7I2V · 1080p19
Wan 2.7 R2Vany resolution12
Wan 3.0any resolution26
Flux 3720p21
Flux 31080p36
Flux 3Draft 720p8
Flux 3Video-to-video · 720p51
Flux 3Video-to-video · 1080p66
Flux 3Video-to-video · draft15
Hailuo 03768p10
Hailuo 032K16
Hailuo 032K regen6
Hailuo 03Reference image (past the first 5)5
Hailuo 03Reference image on regen (past the first 5)3
Happy Horse 1.0720p18
Happy Horse 1.01080p35
Happy Horse 1.1720p18
Happy Horse 1.11080p22
Veo 3.1 Lite720p6
Veo 3.1 Lite1080p10

Image upscale

POST /v2/images/upscale — Topaz (realistic) and Clarity (creative) image upscalers.

ModelVariantCredits per generation
Topaz Image Upscale≤ 12 MP output6
Topaz Image Upscale≤ 24 MP output6
Topaz Image Upscale≤ 36 MP output12
Topaz Image Upscale≤ 48 MP output12
Topaz Image Upscale≤ 60 MP output19
Topaz Image Upscale≤ 96 MP output25
Topaz Image Upscale≤ 132 MP output30
Topaz Image Upscale≤ 168 MP output36
Topaz Image Upscale≤ 336 MP output66
Topaz Image Upscale≤ 512 MP output102
Clarity Upscaler2

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

Image editing

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

ModelVariantCredits per generation
Bria Background Remove2
851-labs Background Remove1
Flux Fill Pro (inpaint or outpaint)6

Video upscale

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 fps1
Topaz Video Upscale1080p · 24 fps2
Topaz Video Upscale1080p · 30 fps2
Topaz Video Upscale1080p · 60 fps5
Topaz Video Upscale4K · 24 fps7
Topaz Video Upscale4K · 30 fps9
Topaz Video Upscale4K · 60 fps19

Video editing

POST /v2/videos/edit — Wan 2.7 prompt-driven VideoEdit. Pricing is per second of output video.

ModelVariantCredits / second
Wan 2.7 VideoEditany resolution12

Music generation

ModelVariantCredits per generation
Suno11
SunoExtend11
SunoCover11
SunoAdd Vocals11
SunoStems20
Udio32s9
Udio65s17
Udio97s26
Udio130s35
UdioExtend9
UdioRemix 32s9
UdioRemix 65s17
UdioRemix 97s26
UdioRemix 130s35
UdioWrite Lyrics1
UdioUpload Audio1
Producer6
Lyria 3 Clip5
Lyria 3 Pro10
ElevenLabs Music≤ 30s (short)9
ElevenLabs Music≤ 120s (medium)38
ElevenLabs Music> 120s (long)94
Mureka6

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