kling
텍스트를 오디오로
CometAPI에서 Kling Text to Audio API를 사용해 텍스트 프롬프트를 음성 스타일 제어, 길이 옵션, 스트리밍 지원 출력과 함께 오디오로 변환합니다.
POST
Create a Kling text-to-audio task
이 엔드포인트를 사용하면 Kling을 통해 텍스트 프롬프트로 짧은 오디오 클립을 생성할 수 있습니다.Documentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
호출 전에 확인하세요
prompt는 간결하고 직접적으로 작성하세요duration은 3초에서 10초 사이로 시작하세요callback_url과external_task_id는 핵심 필수값이 아니라 선택적 통합 도우미로 간주하세요
작업 흐름
작업 폴링
작업이 종료 상태에 도달할 때까지 Kling 오디오 조회 경로를 사용해 개별 조회를 계속 진행하세요.
인증
Bearer token authentication. Use your CometAPI key.
본문
application/json
Text prompt describing the audio to generate. Max 200 characters.
Duration of the generated audio in seconds. Range: 3.0–10.0, supports one decimal place.
Optional user-defined task ID for your own tracking. Does not replace the system-generated task ID. Must be unique per account.
Webhook URL for task status notifications. The server sends a callback when the task status changes.