Skip to main content
POST
Check Media Credits

Authorizations

Authorization
string
header
required

API key from Settings > Developer > REST API

Headers

Moda-Version
enum<string>
default:2026-05-01

Calendar-dated API version pin. New integrations should pin 2026-05-01 to opt into the newest response shapes. For back-compat the server also accepts requests with no header and resolves them to the current default (today: 2026-04-12); that default advances on each sunset date. Any unsupported value returns 400 unsupported_version.

Available options:
2026-04-12,
2026-05-01
Example:

"2026-05-01"

Body

application/json
provider
enum<string>
required
Available options:
fal,
google,
audio,
voice
Example:

"fal"

endpoint
string
required
Required string length: 1 - 512
input
Input · object

Response

Successful Response

balance
CreditBalanceResponse · object
required
available
boolean | null
required
required_plan
string | null
model_name
string | null