cURL
curl \
--request POST \
--url "https://api.breeze.blue/v1/studio/files" \
--header "xi-api-key: $BREEZE_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"operation_id": "123e4567-e89b-42d3-a456-426614174000",
"project_id": "prj_example",
"name": "background.mp3",
"size_bytes": 5242880,
"mime_type": "audio/mpeg"
}'from breeze_blue import BreezeBlue
client = BreezeBlue()
result = client.studio.files.create({
"operation_id": "123e4567-e89b-42d3-a456-426614174000",
"project_id": "prj_example",
"name": "background.mp3",
"size_bytes": 5242880,
"mime_type": "audio/mpeg",
})import { BreezeBlueClient } from "@breeze.blue/sdk";
const client = new BreezeBlueClient();
const result = await client.studio.files.create({
operationId: "123e4567-e89b-42d3-a456-426614174000",
projectId: "prj_example",
name: "background.mp3",
sizeBytes: 5242880,
mimeType: "audio/mpeg",
});{
"id": "<string>",
"project_id": "<string>",
"name": "<string>",
"revision": 123,
"status": "uploading",
"frames": 123,
"sample_rate": 123,
"size_bytes": 123,
"error_code": "<string>",
"error_reason": "<string>",
"error_message": "<string>",
"references": 123
}{
"code": "<string>",
"detail": "<string>",
"error": "<string>",
"ok": false,
"meta": {}
}{
"code": "<string>",
"detail": "<string>",
"error": "<string>",
"ok": false,
"meta": {}
}{
"code": "<string>",
"detail": "<string>",
"error": "<string>",
"ok": false,
"meta": {}
}{
"code": "<string>",
"detail": "<string>",
"error": "<string>",
"ok": false,
"meta": {}
}{
"code": "<string>",
"detail": "<string>",
"error": "<string>",
"ok": false,
"meta": {}
}Studio
Create a file
Register an MP3 or WAV file of up to 1.5 GB before uploading it. Next, get an upload URL, upload the bytes, and complete the upload. Retrying with the same operation_id and body returns the same file.
POST
/
v1
/
studio
/
files
cURL
curl \
--request POST \
--url "https://api.breeze.blue/v1/studio/files" \
--header "xi-api-key: $BREEZE_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"operation_id": "123e4567-e89b-42d3-a456-426614174000",
"project_id": "prj_example",
"name": "background.mp3",
"size_bytes": 5242880,
"mime_type": "audio/mpeg"
}'from breeze_blue import BreezeBlue
client = BreezeBlue()
result = client.studio.files.create({
"operation_id": "123e4567-e89b-42d3-a456-426614174000",
"project_id": "prj_example",
"name": "background.mp3",
"size_bytes": 5242880,
"mime_type": "audio/mpeg",
})import { BreezeBlueClient } from "@breeze.blue/sdk";
const client = new BreezeBlueClient();
const result = await client.studio.files.create({
operationId: "123e4567-e89b-42d3-a456-426614174000",
projectId: "prj_example",
name: "background.mp3",
sizeBytes: 5242880,
mimeType: "audio/mpeg",
});{
"id": "<string>",
"project_id": "<string>",
"name": "<string>",
"revision": 123,
"status": "uploading",
"frames": 123,
"sample_rate": 123,
"size_bytes": 123,
"error_code": "<string>",
"error_reason": "<string>",
"error_message": "<string>",
"references": 123
}{
"code": "<string>",
"detail": "<string>",
"error": "<string>",
"ok": false,
"meta": {}
}{
"code": "<string>",
"detail": "<string>",
"error": "<string>",
"ok": false,
"meta": {}
}{
"code": "<string>",
"detail": "<string>",
"error": "<string>",
"ok": false,
"meta": {}
}{
"code": "<string>",
"detail": "<string>",
"error": "<string>",
"ok": false,
"meta": {}
}{
"code": "<string>",
"detail": "<string>",
"error": "<string>",
"ok": false,
"meta": {}
}
