Get the account
Returns the account's plan, its API limits, its prices and its v2 capture quota. Prices are in microcredits (100 microcredits = 1 credit).
- Plan: the current plan, and the one it changes to at the end of the cycle, if any.
- Pricing: the per-minute price of each kind of session (a
conversation or a render, by avatar engine, and a speech session), a
preview clip, and each generation call where generation is offered
(
pricing.generation). - Limits: an absent limit or plan field is not set (an absent limit is not capped by the plan).
- v2:
v2Accesssays whether the account may build Atmee V2 (Pro and up, or an invite code below Pro). Video clips are on every plan, Free included, and need nov2Access.captureQuotacounts v2 captures queued or running against the cap. - Payouts:
payoutssays whether the account can be paid out, which monetizing an avatar needs. - Readable by the same callers as
GET /v1/account/balance.
X-Api-Key<token>Your secret API key (sk_atmee_...; older keys start sk_live_),
sent as X-Api-Key. Keep it on your server and never send it to a
browser.
The account.
application/json- response
accountId*stringplan*limits*pricing*captureQuota*v2 captures queued or running, against the pending cap (as X-RateLimit-* on a v2 create).
payouts?Whether the account can be paid out (its Stripe Connect account), as
last synced. Monetizing an avatar needs verified; payouts are set up
in Creator Studio. Absent when unknown.
links?The account's pages on the Atmee website, ready to hand to a person. Absent when this deployment does not know the website's address.
v2Access?stringWhether this account may build Atmee V2 (builds, takes, new
versions): granted (Pro and up, or an invite code
redeemed); invite_required (not unlocked); or unavailable (V2 is
not offered here). Absent when it could not be determined.
invite_required means those calls answer 403 v2_access_required
until the account upgrades to Pro and up or redeems an invite
code. Talking to any avatar never needs it, and neither do video
clips, which are on every plan, Free included. Creating V2 HD also
needs V2 HD on the account (limits.v2Pro).
"granted""invite_required""unavailable"curl -X GET 'https://api.atmanity.us/v1/account'{ "accountId": "string", "plan": { "code": "string", "name": "string", "includedMicrocredits": 0, "cycleEnd": "2019-08-24T14:15:22Z", "pendingPlan": { "code": "string", "name": "string" } }, "limits": { "apiAccess": true, "maxSessionSeconds": 0, "maxConcurrentSessions": 0, "maxApiAvatars": 0, "videoGeneration": true, "v2Resolutions": [ { "width": 256, "height": 256 } ], "v2Pro": true, "v2ProResolutions": [ { "width": 256, "height": 256 } ] }, "pricing": { "sessionPerMinuteMicrocredits": 0, "sessionV2PerMinuteMicrocredits": 0, "monetizedPerMinuteMicrocredits": 0, "monetizedV2PerMinuteMicrocredits": 0, "renderV1PerMinuteMicrocredits": 0, "renderV2PerMinuteMicrocredits": 0, "previewClipMicrocredits": 0, "speechPerMinuteMicrocredits": 0, "sessionV2HdPerMinuteMicrocredits": 0, "renderV2HdPerMinuteMicrocredits": 0, "monetizedV2HdPerMinuteMicrocredits": 0, "generation": { "freeAllowance": { "limitMicrocredits": 0, "usedMicrocredits": 0, "remainingMicrocredits": 0, "resetsAt": "2019-08-24T14:15:22Z" }, "portraitsMicrocredits": 0, "enhancementsMicrocredits": 0, "voicesMicrocredits": 0, "clipSizes": [ { "width": 0, "height": 0, "microcredits": 0 } ], "clipPrices": [ { "width": 0, "height": 0, "prices": [ { "upToSeconds": 0, "microcredits": 0 } ] } ], "clipPer15SecondsMicrocredits": 0, "clipPerSecondMicrocredits": 0, "clipResolutions": [ { "width": 256, "height": 256 } ], "clipAnySize": true } }, "captureQuota": { "pending": 0, "pendingLimit": 0 }, "payouts": { "status": "not_started", "verifiedAt": "2019-08-24T14:15:22Z" }, "links": { "explore": "http://example.com", "avatars": "http://example.com", "create": "http://example.com", "billing": "http://example.com", "apiKeys": "http://example.com", "analytics": "http://example.com", "docs": "http://example.com" }, "v2Access": "granted"}
