client.CreateTranslation(ctx, req)
Audio
Übersetzungen
Rufe /audio/translations mit dem Go-Wrapper auf.
Verwende die Wrapper-Methode:
Zuletzt geändert am 2. Oktober 2026
War diese Seite hilfreich?
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Rufe /audio/translations mit dem Go-Wrapper auf.
client.CreateTranslation(ctx, req)import (
"context"
"fmt"
phaseo "github.com/phaseoteam/Phaseo/packages/sdk/sdk-go/v3"
)
client := phaseo.New(apiKey, "https://api.phaseo.app/v1")
resp, err := client.CreateTranslation(context.Background(), map[string]interface{}{
"model": "openai/gpt-4o-transcribe",
"audio_b64": "data:audio/wav;base64,...",
})
if err != nil {
panic(err)
}
fmt.Println(resp)
War diese Seite hilfreich?