Public API
Ambil saldo akun
Mengembalikan saldo akun saat ini dan ringkasan pemberian kredit untuk akun milik kunci API yang terautentikasi.
AuthorizationBearer <token>
Use an Atlas Cloud API key in the form Authorization: Bearer apikey-....
In: header
Response Body
curl -X GET "https://api.atlascloud.ai/public/v1/balance"{
"object": "balance",
"scope": "account",
"account": {
"id": "acc_123",
"name": "Production",
"type": "team"
},
"available": {
"value": "125.500000",
"currency": "usd"
},
"cash": {
"value": "100.000000",
"currency": "usd"
},
"bonus": {
"value": "25.500000",
"currency": "usd"
},
"subscription_bonus": {
"value": "0.000000",
"currency": "usd"
},
"frozen": {
"value": "0.000000",
"currency": "usd"
},
"credit_grant": {
"status": "active",
"granted": {
"value": "0.000000",
"currency": "usd"
},
"used": {
"value": "0.000000",
"currency": "usd"
},
"remaining_overdraft": {
"value": "0.000000",
"currency": "usd"
},
"overdrawn": {
"value": "0.000000",
"currency": "usd"
}
},
"request_id": "req_123"
}{
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "string",
"param": "string"
},
"request_id": "string"
}{
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "string",
"param": "string"
},
"request_id": "string"
}{
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "string",
"param": "string"
},
"request_id": "string"
}{
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "string",
"param": "string"
},
"request_id": "string"
}Generate video with vidu/start-end-to-video-2.0 POST
Generates a video using the vidu/start-end-to-video-2.0 model.
Daftar penggunaan model GET
Mengembalikan bucket penggunaan model harian UTC untuk cakupan yang terlihat oleh kunci API terautentikasi. Menghilangkan `group_by[]` mengembalikan total harian.