# Download audio file
curl -L -o "audio.flac" "https://tinyurl.com/4997djsh"
# Make request
curl -X POST "https://audio-batch.api.fireworks.ai/v1/audio/transcriptions?endpoint_id=audio-prod" \
-H "Authorization: <FIREWORKS_API_KEY>" \
-F "[email protected]"
# Download audio file
curl -L -o "audio.flac" "https://tinyurl.com/4997djsh"
# Make request
curl -X POST "https://audio-batch.api.fireworks.ai/v1/audio/transcriptions?endpoint_id=audio-prod" \
-H "Authorization: <FIREWORKS_API_KEY>" \
-F "[email protected]"
Authorization=FIREWORKS_API_KEY. Alternatively, can be provided as a query param."v1/audio/transcriptions", "v1/audio/translations"). This should correspond to a valid route supported by the backend service.audio-prod: https://audio-prod.api.fireworks.aiaudio-turbo: https://audio-turbo.api.fireworks.aiendpoint_id and path.
The request body must conform to the schema defined by the corresponding synchronous API.model, diarize, and response_format."submitted" indicates the batch request was accepted and queued for processing.endpoint_id used during submission."Request submitted successfully" if accepted.
# Download audio file
curl -L -o "audio.flac" "https://tinyurl.com/4997djsh"
# Make request
curl -X POST "https://audio-batch.api.fireworks.ai/v1/audio/transcriptions?endpoint_id=audio-prod" \
-H "Authorization: <FIREWORKS_API_KEY>" \
-F "[email protected]"
batch_id.Was this page helpful?