AnimGen AI Billing API
The Billing API from AnimGen AI — 13 operation(s) for billing.
The Billing API from AnimGen AI — 13 operation(s) for billing.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/animgen-com:animgen-com-billing-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: AIAnimGenBackend Billing API
version: 0.2.0
tags:
- name: Billing
paths:
/api/billing/plans:
get:
summary: Billing Plans
operationId: billing_plans_api_billing_plans_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/BillingPlansOut'
tags:
- Billing
/api/billing/entitlements:
get:
summary: Billing Entitlements
operationId: billing_entitlements_api_billing_entitlements_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/BillingEntitlementsOut'
tags:
- Billing
/api/billing/subscription:
get:
summary: Billing Subscription
operationId: billing_subscription_api_billing_subscription_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/UserSubscriptionOut'
tags:
- Billing
/api/billing/subscription/change-preview:
get:
summary: Billing Subscription Change Preview
operationId: billing_subscription_change_preview_api_billing_subscription_change_preview_get
parameters:
- name: targetPlanCode
in: query
required: true
schema:
type: string
pattern: ^(basic|expert|ultra)$
title: Targetplancode
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/BillingSubscriptionChangePreviewOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Billing
/api/billing/subscription/change:
post:
summary: Billing Subscription Change
operationId: billing_subscription_change_api_billing_subscription_change_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/BillingSubscriptionChangeRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/BillingSubscriptionChangeOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Billing
/api/billing/subscription/change/cancel:
post:
summary: Billing Subscription Change Cancel
operationId: billing_subscription_change_cancel_api_billing_subscription_change_cancel_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/BillingSubscriptionChangeCancelRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/BillingSubscriptionChangeOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Billing
/api/billing/subscription/change/release-failed:
post:
summary: Billing Subscription Change Release Failed
operationId: billing_subscription_change_release_failed_api_billing_subscription_change_release_failed_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/BillingSubscriptionChangeReleaseRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/BillingSubscriptionChangeOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Billing
/api/billing/subscription/change/reconcile:
post:
summary: Billing Subscription Change Reconcile
operationId: billing_subscription_change_reconcile_api_billing_subscription_change_reconcile_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/BillingSubscriptionChangeReleaseRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/BillingSubscriptionChangeOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Billing
/api/billing/portal:
post:
summary: Billing Portal
operationId: billing_portal_api_billing_portal_post
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/BillingPortalOut'
tags:
- Billing
/api/billing/checkout:
post:
summary: Billing Checkout
operationId: billing_checkout_api_billing_checkout_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/BillingCheckoutRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/BillingOrderOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Billing
/api/billing/orders:
get:
summary: Billing Orders
operationId: billing_orders_api_billing_orders_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/BillingOrderListOut'
tags:
- Billing
/api/billing/orders/{order_id}:
get:
summary: Billing Order
operationId: billing_order_api_billing_orders__order_id__get
parameters:
- name: order_id
in: path
required: true
schema:
type: string
format: uuid
title: Order Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/BillingOrderOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Billing
/api/billing/dodo/webhook:
post:
summary: Dodo Webhook
operationId: dodo_webhook_api_billing_dodo_webhook_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Billing
components:
schemas:
BillingAnalyticsContext:
properties:
entryPoint:
type: string
enum:
- locked_video_model
- locked_export_format
- export_upgrade_cta
- insufficient_credits
- insufficient_generation_credits
- insufficient_export_credits
- api_subscription_required
- storage_quota
- account_balance
- commercial_use
- marketing
- navigation
- other
title: Entrypoint
desiredFormat:
anyOf:
- type: string
enum:
- clip_video
- webm_alpha
- prores_4444
- gif
- frames_zip
- spritesheet
- spritesheet_bundle
- spritesheet_json
- unity_meta
- unity_pack
- godot_pack
- unreal_paper2d_pack
- cocos_creator_pack
- construct3_pack
- type: 'null'
title: Desiredformat
sourceJobId:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Sourcejobid
sourceAssetId:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Sourceassetid
flow:
anyOf:
- type: string
enum:
- quick
- advanced
- api
- type: 'null'
title: Flow
type: object
required:
- entryPoint
title: BillingAnalyticsContext
BillingSubscriptionChangeRequest:
properties:
targetPlanCode:
type: string
enum:
- basic
- expert
- ultra
title: Targetplancode
idempotencyKey:
type: string
maxLength: 128
minLength: 8
title: Idempotencykey
quoteId:
anyOf:
- type: string
maxLength: 128
- type: 'null'
title: Quoteid
type: object
required:
- targetPlanCode
- idempotencyKey
title: BillingSubscriptionChangeRequest
BillingCheckoutRequest:
properties:
kind:
type: string
enum:
- subscription
- topup_pack
title: Kind
planCode:
anyOf:
- type: string
enum:
- basic
- expert
- ultra
- type: 'null'
title: Plancode
packCode:
anyOf:
- type: string
enum:
- small
- medium
- large
- type: 'null'
title: Packcode
analyticsContext:
anyOf:
- $ref: '#/components/schemas/BillingAnalyticsContext'
- type: 'null'
purchaseIntent:
anyOf:
- $ref: '#/components/schemas/BillingPurchaseIntent'
- type: 'null'
type: object
required:
- kind
title: BillingCheckoutRequest
BillingSubscriptionChangeOut:
properties:
requestId:
type: string
format: uuid
title: Requestid
status:
type: string
title: Status
changeType:
type: string
enum:
- upgrade
- downgrade
title: Changetype
applyMode:
type: string
enum:
- immediate
- next_period
title: Applymode
currentPlanCode:
type: string
title: Currentplancode
targetPlanCode:
type: string
title: Targetplancode
requestedAt:
type: string
title: Requestedat
effectiveAt:
anyOf:
- type: string
- type: 'null'
title: Effectiveat
processedAt:
anyOf:
- type: string
- type: 'null'
title: Processedat
immediateChargeAmountMinor:
type: integer
title: Immediatechargeamountminor
default: 0
immediateChargeCurrency:
anyOf:
- type: string
- type: 'null'
title: Immediatechargecurrency
settlementAmountMinor:
type: integer
title: Settlementamountminor
default: 0
settlementCurrency:
anyOf:
- type: string
- type: 'null'
title: Settlementcurrency
reason:
anyOf:
- type: string
- type: 'null'
title: Reason
paymentFailed:
type: boolean
title: Paymentfailed
default: false
paymentFailureCode:
anyOf:
- type: string
- type: 'null'
title: Paymentfailurecode
submissionUnknown:
type: boolean
title: Submissionunknown
default: false
type: object
required:
- requestId
- status
- changeType
- applyMode
- currentPlanCode
- targetPlanCode
- requestedAt
title: BillingSubscriptionChangeOut
BillingEntitlementsOut:
properties:
paidVideoModelAccess:
type: boolean
title: Paidvideomodelaccess
default: false
planCode:
anyOf:
- type: string
- type: 'null'
title: Plancode
storageBytes:
anyOf:
- type: integer
- type: 'null'
title: Storagebytes
allowedExportFormats:
items:
type: string
enum:
- clip_video
- webm_alpha
- prores_4444
- gif
- frames_zip
- spritesheet
- spritesheet_json
- unity_meta
- unity_pack
- godot_pack
- unreal_paper2d_pack
- cocos_creator_pack
- construct3_pack
type: array
title: Allowedexportformats
commercialUse:
type: boolean
title: Commercialuse
default: false
paidExportAccess:
type: boolean
title: Paidexportaccess
default: false
paidExportSources:
items:
type: string
enum:
- subscription
- topup_pack
type: array
title: Paidexportsources
paidExportExpiresAt:
anyOf:
- type: string
- type: 'null'
title: Paidexportexpiresat
subscriptionExpiresAt:
anyOf:
- type: string
- type: 'null'
title: Subscriptionexpiresat
topupExpiresAt:
anyOf:
- type: string
- type: 'null'
title: Topupexpiresat
type: object
title: BillingEntitlementsOut
BillingPortalOut:
properties:
portalUrl:
type: string
title: Portalurl
type: object
required:
- portalUrl
title: BillingPortalOut
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
BillingOrderListOut:
properties:
items:
items:
$ref: '#/components/schemas/BillingOrderOut'
type: array
title: Items
type: object
title: BillingOrderListOut
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
BillingSubscriptionChangePreviewOut:
properties:
quoteId:
type: string
title: Quoteid
quoteExpiresAt:
type: string
title: Quoteexpiresat
ruleVersion:
type: string
title: Ruleversion
creditsToAdd:
type: integer
title: Creditstoadd
nextBillingDate:
anyOf:
- type: string
- type: 'null'
title: Nextbillingdate
changeType:
type: string
enum:
- upgrade
- downgrade
title: Changetype
applyMode:
type: string
enum:
- immediate
- next_period
title: Applymode
currentPlanCode:
type: string
title: Currentplancode
targetPlanCode:
type: string
title: Targetplancode
immediateChargeAmountMinor:
type: integer
title: Immediatechargeamountminor
default: 0
immediateChargeCurrency:
anyOf:
- type: string
- type: 'null'
title: Immediatechargecurrency
settlementAmountMinor:
type: integer
title: Settlementamountminor
default: 0
settlementCurrency:
anyOf:
- type: string
- type: 'null'
title: Settlementcurrency
effectiveAt:
anyOf:
- type: string
- type: 'null'
title: Effectiveat
type: object
required:
- quoteId
- quoteExpiresAt
- ruleVersion
- creditsToAdd
- changeType
- applyMode
- currentPlanCode
- targetPlanCode
title: BillingSubscriptionChangePreviewOut
BillingFreeTierOut:
properties:
welcomeCredits:
type: integer
title: Welcomecredits
monthlyCredits:
type: integer
title: Monthlycredits
dailyCredits:
type: integer
title: Dailycredits
entitlements:
$ref: '#/components/schemas/BillingProductEntitlementsOut'
type: object
required:
- welcomeCredits
- monthlyCredits
- dailyCredits
- entitlements
title: BillingFreeTierOut
BillingSubscriptionChangeCancelRequest:
properties:
idempotencyKey:
type: string
maxLength: 128
minLength: 8
title: Idempotencykey
type: object
required:
- idempotencyKey
title: BillingSubscriptionChangeCancelRequest
BillingPackOut:
properties:
packCode:
type: string
title: Packcode
priceUsd:
type: string
title: Priceusd
credits:
type: integer
title: Credits
expiresDays:
type: integer
title: Expiresdays
entitlements:
$ref: '#/components/schemas/BillingProductEntitlementsOut'
type: object
required:
- packCode
- priceUsd
- credits
- expiresDays
- entitlements
title: BillingPackOut
BillingProductEntitlementsOut:
properties:
storageBytes:
anyOf:
- type: integer
- type: 'null'
title: Storagebytes
allowedExportFormats:
items:
type: string
enum:
- clip_video
- webm_alpha
- prores_4444
- gif
- frames_zip
- spritesheet
- spritesheet_json
- unity_meta
- unity_pack
- godot_pack
- unreal_paper2d_pack
- cocos_creator_pack
- construct3_pack
type: array
title: Allowedexportformats
commercialUse:
type: boolean
title: Commercialuse
default: false
type: object
title: BillingProductEntitlementsOut
BillingPlansOut:
properties:
freeTier:
$ref: '#/components/schemas/BillingFreeTierOut'
plans:
items:
$ref: '#/components/schemas/BillingPlanOut'
type: array
title: Plans
packs:
items:
$ref: '#/components/schemas/BillingPackOut'
type: array
title: Packs
provider:
type: string
title: Provider
default: paddle
manualContactEmail:
anyOf:
- type: string
- type: 'null'
title: Manualcontactemail
manualMessage:
anyOf:
- type: string
- type: 'null'
title: Manualmessage
type: object
required:
- freeTier
title: BillingPlansOut
BillingPurchaseIntent:
properties:
intentId:
type: string
format: uuid
title: Intentid
entryPoint:
type: string
enum:
- locked_video_model
- locked_export_format
- export_upgrade_cta
- insufficient_credits
- insufficient_generation_credits
- insufficient_export_credits
- api_subscription_required
- storage_quota
- account_balance
- commercial_use
- marketing
- navigation
- other
title: Entrypoint
resumeAction:
type: string
enum:
- open_export
- continue_generation
- continue_export
- open_developer
- open_account
- open_pricing
- none
title: Resumeaction
default: none
returnPath:
type: string
maxLength: 500
minLength: 1
title: Returnpath
default: /app
desiredFormat:
anyOf:
- type: string
enum:
- clip_video
- webm_alpha
- prores_4444
- gif
- frames_zip
- spritesheet
- spritesheet_bundle
- spritesheet_json
- unity_meta
- unity_pack
- godot_pack
- unreal_paper2d_pack
- cocos_creator_pack
- construct3_pack
- type: 'null'
title: Desiredformat
desiredModelKey:
anyOf:
- type: string
maxLength: 200
- type: 'null'
title: Desiredmodelkey
desiredModelLabel:
anyOf:
- type: string
maxLength: 100
- type: 'null'
title: Desiredmodellabel
sourceJobId:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Sourcejobid
sourceAssetId:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Sourceassetid
workspaceId:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Workspaceid
compositionId:
anyOf:
- type: string
format: uuid
- type: 'null'
title: Compositionid
flow:
anyOf:
- type: string
enum:
- quick
- advanced
- api
- type: 'null'
title: Flow
requiredCredits:
anyOf:
- type: integer
maximum: 10000000.0
minimum: 0.0
- type: 'null'
title: Requiredcredits
availableCredits:
anyOf:
- type: integer
maximum: 10000000.0
minimum: 0.0
- type: 'null'
title: Availablecredits
shortageCredits:
anyOf:
- type: integer
maximum: 10000000.0
minimum: 0.0
- type: 'null'
title: Shortagecredits
type: object
required:
- intentId
- entryPoint
title: BillingPurchaseIntent
BillingPlanOut:
properties:
planCode:
type: string
title: Plancode
priceUsd:
type: string
title: Priceusd
periodCredits:
type: integer
title: Periodcredits
entitlements:
$ref: '#/components/schemas/BillingProductEntitlementsOut'
type: object
required:
- planCode
- priceUsd
- periodCredits
- entitlements
title: BillingPlanOut
BillingSubscriptionChangeReleaseRequest:
properties:
requestId:
type: string
format: uuid
title: Requestid
type: object
required:
- requestId
title: BillingSubscriptionChangeReleaseRequest
BillingOrderOut:
properties:
orderId:
type: string
format: uuid
title: Orderid
orderType:
type: string
title: Ordertype
productCode:
type: string
title: Productcode
billingPeriod:
anyOf:
- type: string
- type: 'null'
title: Billingperiod
amount:
type: string
title: Amount
currency:
type: string
title: Currency
status:
type: string
title: Status
provider:
type: string
title: Provider
providerRef:
anyOf:
- type: string
- type: 'null'
title: Providerref
checkoutUrl:
anyOf:
- type: string
- type: 'null'
title: Checkouturl
manualContactEmail:
anyOf:
- type: string
- type: 'null'
title: Manualcontactemail
manualMessage:
anyOf:
- type: string
- type: 'null'
title: Manualmessage
purchaseIntent:
anyOf:
- $ref: '#/components/schemas/BillingPurchaseIntent'
- type: 'null'
createdAt:
type: string
title: Createdat
paidAt:
anyOf:
- type: string
- type: 'null'
title: Paidat
fulfilledAt:
anyOf:
- type: string
- type: 'null'
title: Fulfilledat
cancelledAt:
anyOf:
- type: string
- type: 'null'
title: Cancelledat
type: object
required:
- orderId
- orderType
- productCode
- amount
- currency
- status
- provider
- createdAt
title: BillingOrderOut
UserSubscriptionOut:
properties:
planCode:
anyOf:
- type: string
- type: 'null'
title: Plancode
status:
anyOf:
- type: string
- type: 'null'
title: Status
currentPeriodStart:
anyOf:
- type: string
- type: 'null'
title: Currentperiodstart
currentPeriodEnd:
anyOf:
- type: string
- type: 'null'
title: Currentperiodend
cancelAtPeriodEnd:
type: boolean
title: Cancelatperiodend
default: false
provider:
anyOf:
- type: string
- type: 'null'
title: Provider
source:
anyOf:
- type: string
enum:
- billing
- admin
- type: 'null'
title: Source
canChange:
type: boolean
title: Canchange
default: false
pendingChange:
anyOf:
- $ref: '#/components/schemas/BillingSubscriptionChangeOut'
- type: 'null'
billingPlanCode:
anyOf:
- type: string
- type: 'null'
title: Billingplancode
billingStatus:
anyOf:
- type: string
- type: 'null'
title: Billingstatus
billingCurrentPeriodStart:
anyOf:
- type: string
- type: 'null'
title: Billingcurrentperiodstart
billingCurrentPeriodEnd:
anyOf:
- type: string
- type: 'null'
title: Billingcurrentperiodend
billingCancelAtPeriodEnd:
type: boolean
title: Billingcancelatperiodend
default: false
billingProvider:
anyOf:
- type: string
- type: 'null'
title: Billingprovider
billingCanChange:
type: boolean
title: Billingcanchange
default: false
type: object
title: UserSubscriptionOut
securitySchemes:
AnimGenAPIKey:
type: http
description: Server-side AnimGen API key using the ag_live_ prefix
scheme: bearer