Hyper3D API Documentation
控制台登陆开始使用
简体中文
简体中文
  • GET STARTED
    • Get started with Rodin
    • Minimal Example
  • API Specification
    • Overview
    • Rodin Generation
    • Check Balance
    • Check Status
    • Download Results
    • Generate Texture
  • OTHER
    • Data Policy
由 GitBook 提供支持
在本页

这有帮助吗?

  1. API Specification

Check Balance

上一页Rodin Generation下一页Check Status

最后更新于6个月前

这有帮助吗?

调用该API节点以查询账户剩余余额。

收费

调用该API节点以查询账户剩余余额不会收取任何费用。

请求

Authentication

Authorization: Bearer RODIN_API_KEY

响应

JSON响应包含以下字段。

Property
Type
Description

balance

int

Balance of account.

Examples

export RODIN_API_KEY="your api key"
curl --location 'https://hyperhuman.deemos.com/api/v2/check_balance' \
--header 'Authorization: Bearer JWT'
unset RODIN_API_KEY
import requests

# Constants
ENDPOINT = "https://hyperhuman.deemos.com/api/v2/check_balance"
API_KEY = "your api key"  # Replace with your actual API key

# Prepare the headers
headers = {
    'Authorization': f'Bearer {API_KEY}',
}

# Make the GET request
response = requests.get(ENDPOINT, headers=headers)

# Parse and return the JSON response
print(response.json())

此API使用密钥进行身份验证。您需要在所有请求的Authorization头中包含一个有效的密钥. 参阅获取您的账户的API生成密钥。

Quickstart section

Check the remaining credits in your account.

get
授权
响应
201成功
application/json
get
GET /api/v2/check_balance HTTP/1.1
Host: 
Authorization: Bearer JWT
Accept: */*
201成功
{
  "balance": 1
}
  • GETCheck the remaining credits in your account.
  • 收费
  • 请求
  • 响应
  • Examples