Chuyển đến nội dung chính
POST
cURL
Sử dụng POST /runwayml/v1/voice_isolation để tách lời nói khỏi âm thanh nền. Sử dụng model ID eleven_voice_isolation. Gửi API key CometAPI của bạn bằng xác thực Bearer và phần thân yêu cầu JSON.

Cung cấp âm thanh nguồn

Yêu cầu cần có model và audioUri. Đặt audioUri thành một URL HTTPS có thể truy cập của bản ghi chứa lời nói cần tách riêng. Thay URL âm thanh ví dụ bằng tệp nguồn của bạn.

Lấy kết quả

Lưu id được trả về, sau đó sử dụng Lấy một tác vụ Runway để truy xuất trạng thái tác vụ. Khi status là SUCCEEDED, hãy đọc các URL âm thanh trong output. Nếu tác vụ thất bại, hãy kiểm tra failure và failureCode.

Ủy quyền

Authorization
string
header
bắt buộc

Use your CometAPI API key.

Nội dung

application/json

Request settings for eleven_voice_isolation.

model
enum<string>
bắt buộc

Model ID for this request.

Tùy chọn có sẵn:
eleven_voice_isolation
Allowed value: "eleven_voice_isolation"
audioUri
bắt buộc

Audio input as an accessible HTTPS URL or base64 data URI.

Required string length: 13 - 2048
Pattern: ^https:\/\/.*

Phản hồi

Task created. Save the returned id to retrieve task status.

id
string
bắt buộc

Task ID for GET /runwayml/v1/tasks/{id}.

status
string

Task state, when returned.

createdAt
string<date-time>

Task submission timestamp, when returned.

output
string<uri>[]

Result URLs, when returned.

failure
string

Failure explanation, when returned.

failureCode
string

Machine-readable failure code, when returned.

estimatedCost
object

Task estimate metadata, when returned.

cost
object

Task cost metadata, when returned.

Lần sửa đổi cuối 21 tháng 9, 2026