OpenAI Videos compatibility
Call PopNow video models with the request and response shapes of the OpenAI Videos API.
Use the OpenAI Videos request and response formats to integrate PopNow video models into an existing client. The compatible endpoints are under https://api.popnow.ai/v1 and use the same keys, limits, validation and balance as the native API.
| OpenAI-style call | Does |
|---|---|
POST /v1/videos | Create a video task |
GET /v1/videos/{id} | Read its state |
GET /v1/videos/{id}/content | Redirect (302) to the finished file |
GET /v1/models | List callable models in OpenAI's list shape |
The list holds every callable model, chat models first. Only video models work on POST /v1/videos; chat models have their own routes, described in Chat models.
Create a video
curl -X POST "https://api.popnow.ai/v1/videos" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "alibaba/wan-3.0/image-to-video",
"prompt": "Waves roll in slowly, the camera drifts toward the lighthouse",
"input_reference": "https://media.popnow.ai/movie/lighthouse.webp",
"seconds": "5",
"size": "1280x720"
}'How the fields map onto the model's own input:
| OpenAI field | Model input |
|---|---|
model | A video model ID from /v1/models |
prompt | prompt |
input_reference | image_url / image_urls (an HTTPS URL or a popnow:// upload) |
seconds | duration_seconds |
size (WIDTHxHEIGHT) | resolution and/or aspect_ratio, or width / height when the model accepts pixel dimensions |
A field the chosen model does not support is rejected with 400, never silently dropped. For settings OpenAI's shape has no field for, use the native createTask.
Read and download
State mappings: queued maps to queued, running maps to in_progress, succeeded maps to completed, and failed / expired maps to failed with an error object. GET /v1/videos/{id}/content returns a 302 redirect to a short-lived signed link; configure your client to follow redirects. It returns 409 while the video is still processing and 404 if generation failed.
The response objects do not include prices. Retrieve the cost through the native recordInfo using the same ID.
Errors
Errors use OpenAI's { "error": { "message", "type", "param", "code" } } shape with the same HTTP status the native API would return. A content refusal is HTTP 400 with code: "content_rejected", so you can tell it apart from a parameter error (invalid_request or unsupported_parameter, with param naming the field).
Chat models
Call Claude, Gemini, DeepSeek, GLM, Grok and Kimi through the PopNow API with the OpenAI, Anthropic or Gemini SDK you already use. One API key, priced per token in USD.
Guide: generate and edit images
Create images from text, edit photos with reference images, and use the background, upscale and cleanup tools — with model choices and costs.

