메인 콘텐츠로 건너뛰기
POST
/
v1beta
/
models
/
{model}
:predictLongRunning
Gemini predictLongRunning
curl --request POST \
  --url https://maas.apigo.ai/v1beta/models/{model}:predictLongRunning \
  --header 'Content-Type: application/json' \
  --header 'x-goog-api-key: <api-key>' \
  --data '
{
  "instances": [
    {
      "prompt": "一只小猫在花园中奔跑"
    }
  ],
  "parameters": {
    "durationSeconds": 5,
    "aspectRatio": "16:9"
  }
}
'
{
  "name": "operations/abc123",
  "done": false,
  "metadata": {
    "progressPercent": 0
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.apigo.ai/llms.txt

Use this file to discover all available pages before exploring further.

이 엔드포인트를 사용하여 Veo 스타일의 장기 실행 비디오 생성 요청을 제출하세요.
  • 일반적인 인증 패턴은 x-goog-api-key: {API_KEY}이지만 쿼리 문자열 API 키도 지원됩니다.
  • 이 엔드포인트는 최종 비디오 콘텐츠가 아닌 장기 실행 작업 핸들을 반환합니다.
  • 나중에 폴링하기 위해 반환된 작업 이름 또는 ID를 유지합니다.
  • 완료를 추적하려면 /v1beta/operations/{operation_id}를 폴링해야 합니다.

인증

x-goog-api-key
string
header
필수

경로 매개변수

model
string
필수

Gemini model name.

예시:

"veo-3.0-generate-preview"

본문

application/json
instances
object[]
필수
parameters
object

응답

Successful long-running operation creation response

name
string
metadata
object
done
boolean
response
object
error
object