Gowajee API
  • Introduction
  • Getting Started
  • Speech to text
    • Models
    • Limitations
      • Rate Limit
      • Astro Model Limitation
      • Word Timestamp
      • Words Boosting
      • Audio Duration Limit
      • Handling Large Files
      • HTTP Multipart/Form-Data
      • Supported File Formats
    • Transcription
      • Synchronous API (Request-Response)
      • Asynchronous API (Webhook Notification)
        • Checking Job Status
    • Real-time Transcription
    • Speaker Separation
      • Multichannel
      • Diarization
    • Words Boosting
    • Raw Audio Format
  • Pricing
Powered by GitBook
On this page
  • HTTP Multipart/Form-Data
  • Pulse Model
  • Example Request for Pulse Model
  • Astro Model
  • Example Request for Astro Model
  1. Speech to text
  2. Limitations

HTTP Multipart/Form-Data

HTTP Multipart/Form-Data

Currently, only the Pulse model supports HTTP multipart/form-data requests within the Gowajee Speech-to-Text (STT) API.

Pulse Model

The Pulse model supports HTTP multipart/form-data requests, allowing you to send audio files directly in a binary format.

Example Request for Pulse Model

POST /v1/speech-to-text/pulse/transcribe HTTP/1.1
Host: api.gowajee.ai
X-Api-Key: ${YOUR_API_KEY}
Content-Type: multipart/form-data; boundary=---boundary

---boundary
Content-Disposition: form-data; name="audioData"; filename="audio.wav"
Content-Type: audio/wav

(binary audio data)
---boundary--

Astro Model

Example Request for Astro Model

POST /v1/speech-to-text/astro/transcribe/async HTTP/1.1\
Host: api.gowajee.ai
Content-Type: application/json
X-Api-Key: ${YOUR_API_KEY}

{
  "audioData": "https://example.com/presigned_url_to_audio_file"
}
PreviousHandling Large FilesNextSupported File Formats

Last updated 11 months ago

The Astro model does not support multipart/form-data. Instead, use or with HTTP application/json requests to handle audio file uploads.

We recommended using over to avoid HTTP 413 Payload Too Large.

Presigned URLs
Base64
Presigned URLs
Base64