Skip to main content

Intro To Billing

This article mainly introduces the billing methods and pricing for image generation capabilities. Other unpaid capabilities are currently in public testing phase and can be used for free.

Price of publication

$0.003/credit

GiftWorkspace API(SD WebUI like)Workflow API (ComfyUI like)AI Tools4080/4090Free website membership accountSupport the use of self-selected Models / AI Tools list
First Login1k Credits for free4080-Equivalent
Purchase 10k Credits/4080-Equivalent
Purchase 100k Credits5k Credits4080-Equivalent
Purchase 1,000k Credits100k Credits4090-Equivalent
Purchase 10,000k Credits2,500k Credits4090-Equivalent
Advanced customization planContact Us4090-Equivalent

Credit

A credit is a unit of currency expended when generating images with TAMS or after submitting a request to our API. Credit usage scales according to the compute required to complete your request.

Calculation Formula for Credits:

The four factors that currently affect Credits are:

  • WIDTH, HEIGHT
  • STEPS
  • COUNT (The number of generated images)
  • MODEL_FACTOR (based on whether SD or SDXL is being used)
info

The coefficients for the current SDXL model are temporarily discounted and consistent with SD, with all coefficients set to 1. For the FLUX model, the coefficients are set to 2.

notice

The ADETAILER Stage traverses through Args to perform calculations. It uses the ad_steps from the arg for computation. If the ad_use_steps parameter is used, it inherits the steps from DIFFUSION and includes them in the calculation.

Calculation is done separately for each stage, but the later stages inherit certain parameters (WIDTH, HEIGHT, STEPS) from the previous stages for calculation.

For example, if there are four stages:

  • INPUT_INITIALIZE: COUNT: 1
  • DIFFUSION: STEPS: 20, Credits: 0.8
  • UPSCALER: STEPS: 30, WIDTH: 1920, HEIGHT: 1080, Credits: 2.4
  • ADETAILER: inherits WIDTH and HEIGHT from UPSCALER, and STEPS from DIFFUSION, Credits: 1.6
  • Total cumulative consumption: 4.8

ADETAILER/INPAINT STEPS inheritance rule:

  • If there is a DIFFUSION stage, it inherits the STEPS from DIFFUSION.
  • If there is no DIFFUSION stage, it uses the STEPS parameter.

ADETAILER/INPAINT WIDTH and HEIGHT inheritance rule:

  • If it is not the first stage of generating the image (excluding INPUT_INITIALIZE), it inherits the WIDTH and HEIGHT generated by the previous stage.
  • If it is the first stage of generating the image (excluding INPUT_INITIALIZE), it uses the WIDTH and HEIGHT from DIFFUSION parameter.

INPUT_INITIALIZE

Initialization COUNT,MODEL_FACTOR

DIFFUSION:

MODEL_FACTOR * COUNT * (CEIL( STEPS / 5 ) / 5)

Some examples:

STEPSCredits
20.2
80.4
200.8
251
301.2
351.4
401.6
502
602.4

ADETAILER/INPAINT/UPSCALER

MODEL_FACTOR * COUNT * (CEIL( STEPS / 5 ) / 5) * CEIL( WIDTH * HEIGHT / 1024 / 1024 * 2) / 2

Some examples:

STEPSWIDTHHEIGHTCredits
3012807682
30192010803.2
30256014405
6012807683.2
60192010805.6
602560144010.4