Text zu Sprache

Stimmenklon

Lippensynchronisation

Sonstiges

Modell erstellen

Testen Sie die API zum Erstellen von Stimmmodellen.

API Modell erstellen

Endpoint

POST /api/open/create-model

Request-Header

Content-Type: multipart/form-data
Authorization: Bearer YOUR_API_TOKEN  // API-Key

Request-Parameter

Form Data:
name: string        // Required,Modellname
description: string // Optional,Modellbeschreibung
visibility: string  // Optional,Model visibility,Default 'private',Available values:'public' | 'private'
audioFiles: File  // Required,Audiodateien,Format:wav/mp3

Antwort

// Success Response - 200
{
  "modelId": string,    // Created model ID
  "title": string,     // Modellname
  "description": string, // Modellbeschreibung
  "createdAt": string,  // Created at
  "message": string     // Success message
}

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

CURL-Beispiel

curl -X POST https://kittaai.com/api/open/create-model \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -F "name=Modellname" \
  -F "description=Modellbeschreibung" \
  -F "visibility=private" \
  -F "audioFiles=@/path/to/audio1.wav"

Online-Debug

Statuscodes

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