Rivya AI-docs
Model-API-pagina's

Seedance 1.5 Pro API-integratie

Gebruik Seedance 1.5 Pro via Rivya Public API v1 met model-id seedance-1-5-pro, ondersteunde inputs, parameters, Files API-regels, credits en responsevoorbeelden.

Beschikbaar via APITekst of URL gereed; referentiemodi gebruiken Files APIVideo
API-model-id

seedance-1-5-pro

Inputs

text, file

Files API

Vereist voor referentiemodi

Basiscredits

28

Mogelijkheid

Video

Facturering

FIXED

Promptlimiet

2500 tekens

Requestcontract

Stuur de model-id op topniveau. Modelspecifieke controles horen in params.

KeyTypeVereistStandaardBeschrijving
modelstringJaseedance-1-5-proGebruik de API-model-id seedance-1-5-pro.
promptstringJa-Maximaal 2500 tekens voor dit model.
paramsobjectNee-Modelspecifiek parameterobject. Gebruik de rijen hieronder voor toegestane keys.
client_request_idstringNee-Optionele client-side id voor requesttracing in je systeem.

Modelparameters

KeyTypeVereistStandaardBereikOptiesBeschrijving
resolutionselectNee720p-480p, 720p, 1080pResolutie
durationselectNee8-4, 8, 12Duur
generate_audioselectNeefalse-false, trueAudio genereren
aspectRatioselectNee1:1-1:1, 4:3, 3:4, 16:9, 9:16, 21:9Beeldverhouding
fixed_lensselectNeefalse-false, trueBepaalt of het shot zich meer als een vaste camera moet gedragen. Ingeschakeld houdt camerabeweging ingetogener; uitgeschakeld laat duidelijkere beweging toe.

Uploadbeleid

Upload eerst referentiebestanden en plaats daarna de teruggegeven URL en duration token in params.referenceMediaItems.

Referentieregel

Referentiebeeld: Upload maximaal 2 afbeeldingsbestanden voor beeldprojecten.

Max. bestanden

2

Geaccepteerde bestandstypen

image

Duurtoken

Video- en audioreferenties moeten durationToken uit /api/v1/files bevatten wanneer duurverificatie vereist is.

kindMax. grootteMIME-types
image10 MBimage/jpeg, image/png, image/webp

Minimale request

{
  "model": "seedance-1-5-pro",
  "prompt": "A cinematic product reveal with smooth camera movement",
  "params": {
    "resolution": "720p",
    "duration": "8",
    "generate_audio": "false",
    "aspectRatio": "1:1",
    "fixed_lens": "false"
  }
}

Request met referentiebestand

{
  "model": "seedance-1-5-pro",
  "prompt": "A cinematic product reveal with smooth camera movement",
  "params": {
    "resolution": "720p",
    "duration": "8",
    "generate_audio": "false",
    "aspectRatio": "1:1",
    "fixed_lens": "false",
    "referenceMediaItems": [
      {
        "url": "https://cdn.example.com/reference-image.png",
        "kind": "image",
        "name": "reference-image.png",
        "mimeType": "image/png"
      }
    ]
  }
}

Create-response

Het create-endpoint geeft een publieke taak-id terug. Poll het statusendpoint totdat de taak slaagt of mislukt.

{
  "id": "task_seedance_1_5_pro_example",
  "status": "queued",
  "model": "seedance-1-5-pro",
  "reserved_credits": 28,
  "final_credits": 0,
  "created_at": "2026-05-11T00:00:00.000Z",
  "updated_at": "2026-05-11T00:00:00.000Z",
  "result": null,
  "error": null
}

Veelvoorkomende fouten

validation_failed, insufficient_credits, idempotency_conflict, rate_limited, not_found

Sommige modi vereisen referentie-uploads via Files API.