Text zu Sprache (HTTP)

Stimmklon - Modell erstellen

Lip-sync - Aufgabe erstellen

Benutzerprofil

Benutzerprofil

Verbleibende API-Quote und Kontoinformationen anzeigen.

API Benutzerprofil

Endpoint

GET /api/open/profile

Verbleibende API-Quote und Kontoinformationen anzeigen.

Request-Header

Authorization: Bearer YOUR_API_KEY  // API key

Request-Parameter

{
  "token": "YOUR_API_KEY"  // Optional if not provided in header
}

Antwort

// Success response - 200
{
  "user_id": "user_123",
  "api_quota_remaining": 1500,
  "tier": "free",
  "credits": 1000
}

// Error response
{
  "error": string  // Error message
}

Antwortdaten

user_id: Benutzerprofil
api_quota_remaining: Verbleibende API-Quote und Kontoinformationen anzeigen.
tier: Benutzerprofil
credits: Verbleibende API-Quote und Kontoinformationen anzeigen.

CURL-Beispiel

# GET request
curl -X GET https://fishaudio.org/api/open/profile \
  -H "Authorization: Bearer YOUR_API_KEY"

# POST request (via header)
curl -X POST https://fishaudio.org/api/open/profile \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{}'

# POST request (via body)
curl -X POST https://fishaudio.org/api/open/profile \
  -H "Content-Type: application/json" \
  -d '{
    "token": "YOUR_API_KEY"
  }'

Online-Debug

Verbleibende API-Quote und Kontoinformationen anzeigen.

  • Verbleibende API-Quote und Kontoinformationen anzeigen.
  • Request-Header
  • Request-Parameter
  • Verbleibende API-Quote und Kontoinformationen anzeigen.

Statuscodes

200: Success
400: Bad Request
401: Unauthorized
403: Forbidden
404: Not Found
429: Too Many Requests
500: Internal Server Error