PopNowDocs de la API
Contenido principal

Referencia de la API de Seedance 1.5 Pro Spicy

Seedance 1.5 Pro de imagen a video con cámara fija

Con una sola clave de API de PopNow puedes llamar a Seedance 1.5 Pro Spicy desde tu propio código. Aquí tienes los ID de modelo que debes enviar, cada campo de entrada que acepta, cuánto cuesta cada solicitud en USD y una petición que puedes pegar tal cual en la terminal.

Las descripciones de los parámetros vienen del esquema de entrada del modelo y solo están en inglés.

De un vistazo

Creado por
ByteDance
Resultado
Video
Desde
$0.012 USD por segundo generado
Tiempo habitual
unos 71 s

Los precios se muestran en USD y se cobran de tu saldo de PopNow. Al aceptar la tarea se reserva el importe máximo; al terminar se cobra el uso real y se libera el resto. Las tareas fallidas no se cobran. Consulta POST /api/v1/jobs/quote para obtener un presupuesto exacto antes de ejecutar.

Imagen a video

bytedance/seedance-1.5-pro-spicy/image-to-video

Precio

OpciónUSD
generate_audio = false, resolution = 480p$0.012 por segundo generado
generate_audio = true, resolution = 480p$0.024 por segundo generado
generate_audio = false, resolution = 720p$0.026 por segundo generado
generate_audio = false, resolution = 1080p$0.052 por segundo generado
generate_audio = true, resolution = 720p$0.052 por segundo generado
generate_audio = true, resolution = 1080p$0.104 por segundo generado

Parámetros

CampoTipoValor predeterminadoValores admitidosPara qué sirve
image_urlObligatoriostring——URL of the image used as the first frame.
promptOpcionalstring——The positive prompt for the generation.
last_image_urlOpcionalstring——URL of the image used as the closing frame. Only accepted together with image_url.
aspect_ratioOpcionalstringadaptive21:9, 16:9, 4:3, 1:1, 3:4, 9:16, adaptiveThe aspect ratio of the generated video. Use adaptive to follow the input image.
duration_secondsOpcionalinteger5de 4 a 12The duration of the generated media in seconds.
resolutionOpcionalstring720p480p, 720p, 1080pVideo resolution.
generate_audioOpcionalbooleantrue—Whether to generate audio.
camera_fixedOpcionalbooleanfalse—Whether to fix the camera position.
seedOpcionalinteger—de 0 a 2147483647Random seed. Omit to let the model pick one.

Solicitud de ejemplo

Esta solicitud funciona tal cual; los campos que no envíes usan su valor predeterminado. Antes, guarda tu clave en POPNOW_API_KEY.

El ejemplo usa archivos de muestra de PopNow en image_url. Cámbialos por tus propios enlaces HTTPS públicos, archivos subidos o recursos guardados.

POST /api/v1/jobs/createTask
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "bytedance/seedance-1.5-pro-spicy/image-to-video",
  "input": {
    "prompt": "He lands softly on the rooftop, laughs and turns toward the camera while the balloons sway in the evening breeze; slow push-in",
    "image_url": "https://media.popnow.ai/influencer/examples/marco.webp",
    "generate_audio": true,
    "resolution": "720p",
    "duration_seconds": 5
  }
}'

La respuesta trae un taskId al instante. Consulta el resultado con GET /api/v1/jobs/recordInfo o añade callBackUrl para recibir un aviso.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Extender video

bytedance/seedance-1.5-pro-spicy/video-extend

Precio

OpciónUSD
generate_audio = false, resolution = 480p$0.012 por segundo generado
generate_audio = true, resolution = 480p$0.024 por segundo generado
generate_audio = false, resolution = 720p$0.026 por segundo generado
generate_audio = false, resolution = 1080p$0.052 por segundo generado
generate_audio = true, resolution = 720p$0.052 por segundo generado
generate_audio = true, resolution = 1080p$0.104 por segundo generado

Parámetros

CampoTipoValor predeterminadoValores admitidosPara qué sirve
video_urlObligatoriostring (uri)——The clip to continue: MP4, MOV or WebM, up to 60 seconds. Its last frame opens the new segment, and the result is your clip with the new segment joined on.
promptOpcionalstring——Describe what happens next: the action that follows, the camera move and the sound. Optional.
last_image_urlOpcionalstring——Optional target closing frame: the new segment lands on this image.
duration_secondsOpcionalinteger5de 4 a 12Length of the new segment in seconds (4-12). The source clip is added on top and is not billed.
resolutionOpcionalstring720p480p, 720p, 1080pResolution of the new segment. Match your source clip.
generate_audioOpcionalbooleantrue—Generate sound for the new segment. The source keeps its own sound either way.
camera_fixedOpcionalbooleanfalse—Hold the camera still during the new segment so that only the subject moves.
seedOpcionalinteger—de 0 a 2147483647Random seed. Omit to let the model pick one.

Solicitud de ejemplo

Esta solicitud funciona tal cual; los campos que no envíes usan su valor predeterminado. Antes, guarda tu clave en POPNOW_API_KEY.

El ejemplo usa archivos de muestra de PopNow en video_url. Cámbialos por tus propios enlaces HTTPS públicos, archivos subidos o recursos guardados.

POST /api/v1/jobs/createTask
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "bytedance/seedance-1.5-pro-spicy/video-extend",
  "input": {
    "prompt": "The flowers keep opening while the camera slowly pulls back to reveal a sunlit meadow",
    "video_url": "https://media.popnow.ai/effects/flower-bloom-1abd6efb.mp4",
    "generate_audio": true,
    "resolution": "720p",
    "duration_seconds": 5
  }
}'

La respuesta trae un taskId al instante. Consulta el resultado con GET /api/v1/jobs/recordInfo o añade callBackUrl para recibir un aviso.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Siguientes pasos

En esta página