Pruna AI P-Video — text-to-video; image-to-video with a start frame and an optional end frame; and audio-driven video from a supplied track. 720p or 1080p, 5 or 10 seconds, optional generated audio. Served by our direct Pruna integration.
Asynchronous. Returns a job id (the video is not in this response). Poll GET /v1/videos/{id} until status is succeeded — the video URL is in that response’s video_url.
Optional driving-audio track (MP3/WAV/FLAC). Provide a public audio URL or an uploaded-file URL from POST /v1/uploads (passed by URL, not inlined). When supplied, the video's length matches the audio and length_seconds is ignored — which changes the per-second charge, so estimate via POST /v1/cost.
Optional start frame for image-to-video. Provide a public image URL, a data URI, raw base64, or an uploaded-file URL from POST /v1/uploads. Omit for text-to-video.
Lifecycle state. succeeded/failed/timeout are terminal.
Available options:
pending,
starting,
processing,
completing,
succeeded,
failed,
timeout
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"BudgetPixel API","description":"Programmatic AI image, video, music, and sound-effect generation API and MCP server for BudgetPixel.","colors":{"primary":"#111111","light":"#ffffff","dark":"#000000"},"logo":{"light":"https://mintcdn.com/budgetpixel/LxKf7gBlohT2vrfk/logo/light.svg?fit=max\u0026auto=format\u0026n=LxKf7gBlohT2vrfk\u0026q=85\u0026s=0e90b5dbefed15ed3def253ba7befe22","dark":"https://mintcdn.com/budgetpixel/LxKf7gBlohT2vrfk/logo/dark.svg?fit=max\u0026auto=format\u0026n=LxKf7gBlohT2vrfk\u0026q=85\u0026s=fced9f91764e91bd1703e072ef3fc9ba"},"favicon":"https://mintcdn.com/budgetpixel/bo3ueBON07AT2z2L/favicon.png?fit=max\u0026auto=format\u0026n=bo3ueBON07AT2z2L\u0026q=85\u0026s=73fe3973072a091864d116d93fb4aa06","background":{"color":{"light":"#F3F1E6"}},"navbar":{"links":[{"href":"https://budgetpixel.com/api","label":"API home"},{"href":"https://budgetpixel.com/models","label":"Models"},{"href":"https://budgetpixel.com/contact","label":"Support"}],"primary":{"type":"button","label":"Get API keys","href":"https://budgetpixel.com/developers"}},"footer":{"socials":{"website":"https://budgetpixel.com","x":"https://x.com/budgetpixel","youtube":"https://www.youtube.com/@budgetpixelai","discord":"https://discord.gg/tDbT2RDmkw","github":"https://github.com/budgetpixel-ai"},"links":[{"header":"Platform","items":[{"label":"API overview","href":"https://budgetpixel.com/api"},{"label":"Model catalog","href":"https://budgetpixel.com/models"},{"label":"MCP server","href":"https://budgetpixel.com/mcp"},{"label":"Features","href":"https://budgetpixel.com/features"}]},{"header":"Developers","items":[{"label":"Get API keys","href":"https://budgetpixel.com/developers"},{"label":"Pricing \u0026 credits","href":"https://budgetpixel.com/pricing"},{"label":"Quickstart","href":"https://docs.budgetpixel.com/quickstart"},{"label":"Authentication","href":"https://docs.budgetpixel.com/authentication"}]},{"header":"Company","items":[{"label":"BudgetPixel","href":"https://budgetpixel.com"},{"label":"Blog","href":"https://budgetpixel.com/blog"},{"label":"Contact","href":"https://budgetpixel.com/contact"}]},{"header":"Legal","items":[{"label":"Developer API Terms","href":"https://budgetpixel.com/developer-terms"},{"label":"Terms of Service","href":"https://budgetpixel.com/terms"},{"label":"Privacy Policy","href":"https://budgetpixel.com/privacy"}]}]},"seo":{"metatags":{"og:site_name":"BudgetPixel API","twitter:site":"@budgetpixel"},"indexing":"all"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"budgetpixel","hasAudioNarration":false,"actualSubdomain":"budgetpixel","customDomains":["docs.budgetpixel.com"],"gitSource":{"type":"github","owner":"gliu6","repo":"budget-pixel-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6af39ca52f3e1156a3d19c93","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"API Reference","count":112},{"language":"default","tag":"Images","count":35},{"language":"default","tag":"Guides","count":28},{"language":"default","tag":"Videos","count":20},{"language":"default","tag":"Alibaba","count":12},{"language":"default","tag":"APIs","count":10},{"language":"default","tag":"Kling","count":10},{"language":"default","tag":"Jobs","count":9},{"language":"default","tag":"Black Forest Labs","count":8},{"language":"default","tag":"Characters","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/pruna-ai/generate-video-with-p-video","slug":"/api-reference/pruna-ai/generate-video-with-p-video","pageMetadata":{"title":"Generate video with P-Video","description":"Pruna AI P-Video — text-to-video; image-to-video with a start frame and an optional end frame; and audio-driven video from a supplied track. 720p or 1080p, 5 or 10 seconds, optional generated audio. Served by our direct Pruna integration.\n\n**Asynchronous.** Returns a job `id` (the video is not in this response). Poll [`GET /v1/videos/{id}`](/api-reference/videos/get-video-job-status) until `status` is `succeeded` — the video URL is in that response's `video_url`.\n\nExamples, sample output and pricing: [P-Video](https://budgetpixel.com/models/p-video)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/p-video","href":"/api-reference/pruna-ai/generate-video-with-p-video","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Pruna AI P-Video — text-to-video; image-to-video with a start frame and an optional end frame; and audio-driven video from a supplied track. 720p or 1080p, 5 or 10 seconds, optional generated audio. Served by our direct Pruna integration.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Asynchronous.\"\n }), \" Returns a job \", _jsx(_components.code, {\n children: \"id\"\n }), \" (the video is not in this response). Poll \", _jsx(_components.a, {\n href: \"/api-reference/videos/get-video-job-status\",\n children: _jsx(_components.code, {\n children: \"GET /v1/videos/{id}\"\n })\n }), \" until \", _jsx(_components.code, {\n children: \"status\"\n }), \" is \", _jsx(_components.code, {\n children: \"succeeded\"\n }), \" — the video URL is in that response’s \", _jsx(_components.code, {\n children: \"video_url\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Examples, sample output and pricing: \", _jsx(_components.a, {\n href: \"https://budgetpixel.com/models/p-video\",\n children: \"P-Video\"\n })]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={p:`p`,..._provideComponents(),...props.components},{Card}=_components;if(!Card)_missingMdxReference(`Card`,true);return _jsx(Card,{title:`P-Video on BudgetPixel`,icon:`images`,href:`https://budgetpixel.com/models/p-video`,horizontal:true,children:_jsx(_components.p,{children:`Examples, prompts and pricing.`})})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Generate video with P-Video","description":"Pruna AI P-Video — text-to-video; image-to-video with a start frame and an optional end frame; and audio-driven video from a supplied track. 720p or 1080p, 5 or 10 seconds, optional generated audio. Served by our direct Pruna integration.\n\n**Asynchronous.** Returns a job `id` (the video is not in this response). Poll [`GET /v1/videos/{id}`](/api-reference/videos/get-video-job-status) until `status` is `succeeded` — the video URL is in that response's `video_url`.\n\nExamples, sample output and pricing: [P-Video](https://budgetpixel.com/models/p-video)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/p-video","href":"/api-reference/pruna-ai/generate-video-with-p-video","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"x-mint":{"content":"\u003cCard title=\"P-Video on BudgetPixel\" icon=\"images\" href=\"https://budgetpixel.com/models/p-video\" horizontal>\n Examples, prompts and pricing.\n\u003c/Card>"},"description":"Pruna AI P-Video — text-to-video; image-to-video with a start frame and an optional end frame; and audio-driven video from a supplied track. 720p or 1080p, 5 or 10 seconds, optional generated audio. Served by our direct Pruna integration.\n\n**Asynchronous.** Returns a job `id` (the video is not in this response). Poll [`GET /v1/videos/{id}`](/api-reference/videos/get-video-job-status) until `status` is `succeeded` — the video URL is in that response's `video_url`.\n\nExamples, sample output and pricing: [P-Video](https://budgetpixel.com/models/p-video)","operationId":"createVideo_p_video","requestBody":"e9118154-2722-4184-91ce-4b5c24370b5f","responses":{"200":"729bbaa6-1bb0-4c04-8a32-3402d68a090d","400":"bc77ff97-4ba4-4d4d-a45b-c866bcab489e","401":"3804ba7a-a20d-41af-8318-df53776c6ab1","403":"4f6cbe32-f3ed-4db5-9ae8-e7f787763e99","429":"d8aac7c9-e3d6-4eb6-8891-001d97231725"},"summary":"Generate video with P-Video","tags":["Pruna AI"],"method":"post","type":"path","servers":["c467e0be-db2f-4653-9ee5-d1d1a1bce746"],"security":["6ab85b7e-0c95-4cb9-8846-bb35d480904c"],"path":"/videos/p-video","baseUrlOptions":["https://api.budgetpixel.com/v1"],"title":"Generate video with P-Video","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"properties":{"prompt":{"description":"Text description of the video.","type":"string","isRequired":true,"uniqueKey":"prompt","typeLabel":"string"},"aspect_ratio":{"default":"16:9","description":"Aspect ratio. Ignored when a start image already sets the frame.","enum":["16:9","9:16","1:1"],"type":"string","uniqueKey":"aspect_ratio","typeLabel":"enum\u003cstring>"},"audio":{"description":"Optional driving-audio track (MP3/WAV/FLAC). Provide a public audio URL or an uploaded-file URL from POST /v1/uploads (passed by URL, not inlined). When supplied, the video's length matches the audio and `length_seconds` is ignored — which changes the per-second charge, so estimate via POST /v1/cost.","type":"string","x-bpx-media":"audio","uniqueKey":"audio","typeLabel":"string"},"end_image":{"description":"Optional end frame, used together with `image` (the start frame) to interpolate the video between the two frames. Same input forms as `image`.","type":"string","x-bpx-media":"image","uniqueKey":"end_image","typeLabel":"string"},"generate_audio":{"default":true,"description":"Keep the model's generated audio in the output (default true; no price impact).","type":"boolean","uniqueKey":"generate_audio","typeLabel":"boolean"},"image":{"description":"Optional start frame for image-to-video. Provide a public image URL, a data URI, raw base64, or an uploaded-file URL from POST /v1/uploads. Omit for text-to-video.","type":"string","x-bpx-media":"image","uniqueKey":"image","typeLabel":"string"},"length_seconds":{"default":5,"description":"Video length in seconds. Ignored when `audio` is supplied.","enum":[5,10],"type":"integer","uniqueKey":"length_seconds","typeLabel":"enum\u003cinteger>"},"resolution":{"default":"720p","description":"Output resolution.","enum":["720p","1080p"],"type":"string","uniqueKey":"resolution","typeLabel":"enum\u003cstring>"},"seed":{"description":"Seed for reproducible generation. Omit for random.","type":"integer","uniqueKey":"seed","typeLabel":"integer"}},"required":["prompt"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"prompt":"\u003cstring>","aspect_ratio":"16:9","audio":"\u003cstring>","end_image":"\u003cstring>","generate_audio":true,"image":"\u003cstring>","length_seconds":5,"resolution":"720p","seed":123}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"729bbaa6-1bb0-4c04-8a32-3402d68a090d":{"content":{"application/json":{"schema":{"properties":{"characters":{"description":"The characters the prompt cast with `@handle` mentions. Absent when none.","items":{"properties":{"handle":{"example":"barry","type":"string","uniqueKey":"characters.items.[INDEX].handle","typeLabel":"string"},"name":{"example":"Barry","type":"string","uniqueKey":"characters.items.[INDEX].name","typeLabel":"string"},"official":{"description":"`true` for a BudgetPixel AI influencer.","type":"boolean","uniqueKey":"characters.items.[INDEX].official","typeLabel":"boolean"},"page_url":{"format":"uri","type":"string","uniqueKey":"characters.items.[INDEX].page_url","typeLabel":"string\u003curi>"}},"type":"object","uniqueKey":"characters.items.[INDEX]","typeLabel":"object"},"type":"array","uniqueKey":"characters","typeLabel":"object[]"},"id":{"description":"Opaque job id — use it to poll status.","type":"string","uniqueKey":"id","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"},"model":{"type":"string","uniqueKey":"model","typeLabel":"string"},"status":{"description":"Lifecycle state. `succeeded`/`failed`/`timeout` are terminal.","enum":["pending","starting","processing","completing","succeeded","failed","timeout"],"type":"string","uniqueKey":"status","typeLabel":"enum\u003cstring>"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"characters":[{"handle":"barry","name":"Barry","official":true,"page_url":"\u003cstring>"}],"id":"\u003cstring>","message":"\u003cstring>","model":"\u003cstring>","status":"pending"}}},"exampleType":"generated"}},"description":"Job accepted.","exampleType":"generated"},"bc77ff97-4ba4-4d4d-a45b-c866bcab489e":{"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["error"],"properties":{"error":{"properties":{"code":{"description":"Stable machine-readable code.","example":"model_not_available","type":"string","isRequired":true,"uniqueKey":"oneOf.0.error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.error.message","typeLabel":"string"},"type":{"description":"Error category.","example":"invalid_request_error","type":"string","isRequired":true,"uniqueKey":"oneOf.0.error.type","typeLabel":"string"}},"required":["type","code","message"],"type":"object","isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"object"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"Returned (with HTTP 400) when the input content moderation gate blocks a generation request. The block is a property of the request's prompt or input media — reword the prompt or change the input and retry. Branch on `restriction_reason`, which is stable and machine-readable.","required":["error","restriction_reason"],"properties":{"error":{"description":"Human-readable explanation of the block.","type":"string","isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"string"},"restriction_reason":{"description":"Stable machine-readable block reason.","enum":["input_csam","input_explicit_adult","input_upload_nudity","input_celebrity_likeness","strict_model_nsfw"],"type":"string","isRequired":true,"uniqueKey":"oneOf.1.restriction_reason","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"model_not_available","message":"\u003cstring>","type":"invalid_request_error"}}}},"exampleType":"generated"}},"description":"The request was malformed, referenced an unavailable model, or was blocked by input content moderation (moderation blocks carry a `restriction_reason` — see ModerationBlocked).","exampleType":"generated"},"3804ba7a-a20d-41af-8318-df53776c6ab1":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"description":"Stable machine-readable code.","example":"model_not_available","type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"type":{"description":"Error category.","example":"invalid_request_error","type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"}},"required":["type","code","message"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"model_not_available","message":"\u003cstring>","type":"invalid_request_error"}}}},"exampleType":"generated"}},"description":"Missing or invalid API key.","exampleType":"generated"},"4f6cbe32-f3ed-4db5-9ae8-e7f787763e99":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"description":"Stable machine-readable code.","example":"model_not_available","type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"type":{"description":"Error category.","example":"invalid_request_error","type":"string","isRequired":true,"uniqueKey":"error.type","typeLabel":"string"}},"required":["type","code","message"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"model_not_available","message":"\u003cstring>","type":"invalid_request_error"}}}},"exampleType":"generated"}},"description":"Authenticated but not permitted (plan gate, ownership, account restriction). Content-moderation blocks are 400, not 403.","exampleType":"generated"},"d8aac7c9-e3d6-4eb6-8891-001d97231725":{"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["error"],"properties":{"error":{"properties":{"code":{"description":"Stable machine-readable code.","example":"model_not_available","type":"string","isRequired":true,"uniqueKey":"oneOf.0.error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.error.message","typeLabel":"string"},"type":{"description":"Error category.","example":"invalid_request_error","type":"string","isRequired":true,"uniqueKey":"oneOf.0.error.type","typeLabel":"string"}},"required":["type","code","message"],"type":"object","isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"object"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"`429` body when your account already has as many jobs of this kind\n(image, video or audio) in flight as its concurrency cap allows. Submit\nthe next job when one of your running jobs finishes.\n","required":["error","code","queue_full","queue_limit","active_jobs","retry_after_seconds"],"properties":{"active_jobs":{"description":"Jobs of this kind in flight right now.","type":"integer","isRequired":true,"uniqueKey":"oneOf.1.active_jobs","typeLabel":"integer"},"code":{"enum":["queue_full"],"type":"string","isRequired":true,"uniqueKey":"oneOf.1.code","typeLabel":"enum\u003cstring>"},"error":{"description":"Human-readable message.","type":"string","isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"string"},"queue_full":{"enum":[true],"type":"boolean","isRequired":true,"uniqueKey":"oneOf.1.queue_full","typeLabel":"enum\u003cboolean>"},"queue_limit":{"description":"Your concurrency cap for this kind of job.","type":"integer","isRequired":true,"uniqueKey":"oneOf.1.queue_limit","typeLabel":"integer"},"retry_after_seconds":{"description":"Same value as the `Retry-After` header.","type":"integer","isRequired":true,"uniqueKey":"oneOf.1.retry_after_seconds","typeLabel":"integer"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"model_not_available","message":"\u003cstring>","type":"invalid_request_error"}}}},"exampleType":"generated"}},"description":"A limit was reached. Every `429` carries `Retry-After` (seconds). The\nper-minute rate limit, the upload limit and the hourly API post cap answer\nwith the `Error` envelope, code `rate_limited`. The monthly spend limit answers with\ncode `monthly_spend_limit_reached`, and its `Retry-After` counts down to the\nstart of next month (raising the limit in the console clears it sooner).\nA full concurrency queue answers with the flat `QueueFull` body (3D jobs:\nthe `Error` envelope with code `queue_full`); its `Retry-After` is a\nsuggested wait, because a slot frees as soon as one of your running jobs\nfinishes.\n","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"minimum":1,"type":"integer"}}},"exampleType":"generated"}},"security":{"6ab85b7e-0c95-4cb9-8846-bb35d480904c":{"ApiKeyAuth":{"bearerFormat":"bpx_live_*","description":"API key as a bearer token: Authorization: Bearer bpx_live_xxx","scheme":"bearer","type":"http","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"c467e0be-db2f-4653-9ee5-d1d1a1bce746":{"description":"Production","url":"https://api.budgetpixel.com/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"bearerFormat":"bpx_live_*","description":"API key as a bearer token: Authorization: Bearer bpx_live_xxx","scheme":"bearer","type":"http","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API key as a bearer token: Authorization: Bearer bpx_live_xxx","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"ApiKeyAuth","name":"Authorization"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"budgetpixel","siteName":"BudgetPixel API","title":"Generate video with P-Video - BudgetPixel API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-10T22:37:38.252Z","originalFileLocation":"api-reference/pruna-ai/generate-video-with-p-video.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Pruna AI P-Video — text-to-video; image-to-video with a start frame and an optional end frame; and audio-driven video from a supplied track. 720p or 1080p, 5 or 10 seconds, optional generated audio. Served by our direct Pruna integration. Asynchronous. Returns a job id (the video is not in this response). Poll GET /v1/videos/{id} until status is succeeded — the video URL is in that response\u0026#x27;s video_url. Examples, sample output and pricing: P-Video\">\u003cmeta data-mint-head name=\"application-name\" content=\"BudgetPixel API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/budgetpixel/2t9fd9VwsGZvdkqJ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/budgetpixel/2t9fd9VwsGZvdkqJ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/budgetpixel/2t9fd9VwsGZvdkqJ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/budgetpixel/2t9fd9VwsGZvdkqJ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/budgetpixel/2t9fd9VwsGZvdkqJ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/budgetpixel/2t9fd9VwsGZvdkqJ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/budgetpixel/2t9fd9VwsGZvdkqJ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/budgetpixel/2t9fd9VwsGZvdkqJ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/budgetpixel/2t9fd9VwsGZvdkqJ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Generate video with P-Video - BudgetPixel API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Pruna AI P-Video — text-to-video; image-to-video with a start frame and an optional end frame; and audio-driven video from a supplied track. 720p or 1080p, 5 or 10 seconds, optional generated audio. Served by our direct Pruna integration. Asynchronous. Returns a job id (the video is not in this response). Poll GET /v1/videos/{id} until status is succeeded — the video URL is in that response\u0026#x27;s video_url. Examples, sample output and pricing: P-Video\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"BudgetPixel API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.budgetpixel.com/api-reference/pruna-ai/generate-video-with-p-video\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://budgetpixel.mintlify.site/_mintlify/api/og/v2?division=Pruna+AI\u0026amp;title=Generate+video+with+P-Video\u0026amp;description=Pruna+AI+P-Video+%E2%80%94+text-to-video%3B+image-to-video+with+a+start+frame+and+an+optional+end+frame%3B+and+audio-driven+video+from+a+supplied+track.+720p+or+1080p%2C+5+or\u0026amp;theme=6496c7f1c5cb7e2919a421be\u0026amp;signature=bdad926a7b96e7d7875e9cdc51f3b73c7596853aa05ca0da4ba630223c5266c6\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Generate video with P-Video - BudgetPixel API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Pruna AI P-Video — text-to-video; image-to-video with a start frame and an optional end frame; and audio-driven video from a supplied track. 720p or 1080p, 5 or 10 seconds, optional generated audio. Served by our direct Pruna integration. Asynchronous. Returns a job id (the video is not in this response). Poll GET /v1/videos/{id} until status is succeeded — the video URL is in that response\u0026#x27;s video_url. Examples, sample output and pricing: P-Video\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://budgetpixel.mintlify.site/_mintlify/api/og/v2?division=Pruna+AI\u0026amp;title=Generate+video+with+P-Video\u0026amp;description=Pruna+AI+P-Video+%E2%80%94+text-to-video%3B+image-to-video+with+a+start+frame+and+an+optional+end+frame%3B+and+audio-driven+video+from+a+supplied+track.+720p+or+1080p%2C+5+or\u0026amp;theme=6496c7f1c5cb7e2919a421be\u0026amp;signature=bdad926a7b96e7d7875e9cdc51f3b73c7596853aa05ca0da4ba630223c5266c6\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/budgetpixel/2t9fd9VwsGZvdkqJ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"BudgetPixel API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#111111\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.budgetpixel.com/api-reference/pruna-ai/generate-video-with-p-video\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/pruna-ai/generate-video-with-p-video.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.budgetpixel.com/#organization\",\"name\":\"BudgetPixel API\",\"url\":\"https://docs.budgetpixel.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/budgetpixel/LxKf7gBlohT2vrfk/logo/light.svg?fit=max\u0026auto=format\u0026n=LxKf7gBlohT2vrfk\u0026q=85\u0026s=0e90b5dbefed15ed3def253ba7befe22\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.budgetpixel.com#website\",\"name\":\"BudgetPixel API\",\"url\":\"https://docs.budgetpixel.com\",\"publisher\":{\"@id\":\"https://docs.budgetpixel.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.budgetpixel.com/api-reference/pruna-ai/generate-video-with-p-video#webpage\",\"url\":\"https://docs.budgetpixel.com/api-reference/pruna-ai/generate-video-with-p-video\",\"name\":\"Generate video with P-Video\",\"description\":\"Pruna AI P-Video — text-to-video; image-to-video with a start frame and an optional end frame; and audio-driven video from a supplied track. 720p or 1080p, 5 or 10 seconds, optional generated audio. Served by our direct Pruna integration. Asynchronous. Returns a job id (the video is not in this response). Poll GET /v1/videos/{id} until status is succeeded — the video URL is in that response's video_url. Examples, sample output and pricing: P-Video\",\"dateModified\":\"2026-11-10T22:37:38.252Z\",\"isPartOf\":{\"@id\":\"https://docs.budgetpixel.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.budgetpixel.com/api-reference/pruna-ai/generate-video-with-p-video#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.budgetpixel.com/api-reference/pruna-ai/generate-video-with-p-video#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Videos\",\"item\":\"https://docs.budgetpixel.com/api-reference/kling/generate-video-with-kling-40\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Generate video with P-Video\",\"item\":\"https://docs.budgetpixel.com/api-reference/pruna-ai/generate-video-with-p-video\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.budgetpixel.com/api-reference/pruna-ai/generate-video-with-p-video#apireference\",\"headline\":\"Generate video with P-Video\",\"name\":\"Generate video with P-Video\",\"description\":\"Pruna AI P-Video — text-to-video; image-to-video with a start frame and an optional end frame; and audio-driven video from a supplied track. 720p or 1080p, 5 or 10 seconds, optional generated audio. Served by our direct Pruna integration. Asynchronous. Returns a job id (the video is not in this response). Poll GET /v1/videos/{id} until status is succeeded — the video URL is in that response's video_url. Examples, sample output and pricing: P-Video\",\"url\":\"https://docs.budgetpixel.com/api-reference/pruna-ai/generate-video-with-p-video\",\"mainEntityOfPage\":{\"@id\":\"https://docs.budgetpixel.com/api-reference/pruna-ai/generate-video-with-p-video#webpage\"},\"dateModified\":\"2026-11-10T22:37:38.252Z\",\"publisher\":{\"@id\":\"https://docs.budgetpixel.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.budgetpixel.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"BudgetPixel API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"BudgetPixel API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/pruna-ai/generate-video-with-p-video.md","siteName":"BudgetPixel API","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"Account","pages":[{"title":"Get credit balance","deprecated":null,"version":null,"openapi":"/openapi.yaml get /account/credits","href":"/api-reference/account/get-credit-balance"}]},{"group":"Models","pages":[{"title":"List available models","deprecated":null,"version":null,"openapi":"/openapi.yaml get /models","href":"/api-reference/models/list-available-models"},{"title":"Estimate the cost of a request","deprecated":null,"version":null,"openapi":"/openapi.yaml post /cost","href":"/api-reference/models/estimate-the-cost-of-a-request"}]},{"group":"Files","pages":[{"title":"Upload input media","deprecated":null,"version":null,"openapi":"/openapi.yaml post /uploads","href":"/api-reference/uploads/upload-input-media"}]},{"group":"Stock Images","pages":[{"title":"Search free stock images","deprecated":null,"version":null,"openapi":"/openapi.yaml get /stock/images","href":"/api-reference/stock-images/search-free-stock-images"}]},{"group":"Stock Sound Effects","pages":[{"title":"Search free stock sound effects","deprecated":null,"version":null,"openapi":"/openapi.yaml get /stock/sound-effects","href":"/api-reference/stock-sound-effects/search-free-stock-sound-effects"}]},{"group":"Stock Music","pages":[{"title":"Search free stock music","deprecated":null,"version":null,"openapi":"/openapi.yaml get /stock/music","href":"/api-reference/stock-music/search-free-stock-music"}]},{"group":"Images","pages":[{"group":"Black Forest Labs","pages":[{"title":"Generate image with FLUX 3","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/flux-3-image","href":"/api-reference/black-forest-labs/generate-image-with-flux-3"},{"title":"Generate image with FLUX 3 Klein","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/flux-3-image-klein","href":"/api-reference/black-forest-labs/generate-image-with-flux-3-klein"},{"title":"Generate image with FLUX 2 Pro","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/flux-2-pro","href":"/api-reference/black-forest-labs/generate-image-with-flux-2-pro"},{"title":"Generate image with FLUX 2 Dev","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/flux-2-dev","href":"/api-reference/black-forest-labs/generate-image-with-flux-2-dev"},{"title":"Generate image with FLUX 2 Klein","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/flux-2-klein","href":"/api-reference/black-forest-labs/generate-image-with-flux-2-klein"},{"title":"Generate image with FLUX 1.1 Pro","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/flux-1.1-pro","href":"/api-reference/black-forest-labs/generate-image-with-flux-11-pro"}]},{"group":"Bytedance","pages":[{"title":"Generate image with SeeDream 4.5","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/seedream-4.5","href":"/api-reference/bytedance/generate-image-with-seedream-45"},{"title":"Generate image with SeeDream 5.0 Lite","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/seedream-5.0-lite","href":"/api-reference/bytedance/generate-image-with-seedream-50-lite"},{"title":"Generate image with SeeDream 5.0 Pro","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/seedream-5.0-pro","href":"/api-reference/bytedance/generate-image-with-seedream-50-pro"},{"title":"Generate image with SeeDream 5.0 Flash","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/seedream-5.0-flash","href":"/api-reference/bytedance/generate-image-with-seedream-50-flash"},{"title":"Generate image with Seedream 5.5","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/seedream-5.5","href":"/api-reference/bytedance/generate-image-with-seedream-55"}]},{"group":"Alibaba","pages":[{"title":"Generate image with Qwen Image 3.0","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/qwen-image-3.0","href":"/api-reference/alibaba/generate-image-with-qwen-image-30"},{"title":"Generate image with Qwen Image 3.0 Pro","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/qwen-image-3.0-pro","href":"/api-reference/alibaba/generate-image-with-qwen-image-30-pro"},{"title":"Generate image with Qwen Image 2.0","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/qwen-image-2.0","href":"/api-reference/alibaba/generate-image-with-qwen-image-20"},{"title":"Generate image with Qwen Image 2.0 Pro","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/qwen-image-2.0-pro","href":"/api-reference/alibaba/generate-image-with-qwen-image-20-pro"},{"title":"Generate image with Qwen-Image","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/qwen-image","href":"/api-reference/alibaba/generate-image-with-qwen-image"},{"title":"Generate image with Wan 2.7","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/wan-2.7","href":"/api-reference/alibaba/generate-image-with-wan-27"},{"title":"Generate image with Wan 2.7 Pro","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/wan-2.7-pro","href":"/api-reference/alibaba/generate-image-with-wan-27-pro"},{"title":"Generate image with Z-Image-Turbo","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/z-image-turbo","href":"/api-reference/alibaba/generate-image-with-z-image-turbo"}]},{"group":"Google","pages":[{"title":"Generate image with Nano Banana 2.1","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/nano-banana-2.1","href":"/api-reference/google/generate-image-with-nano-banana-21"},{"title":"Generate image with Nano Banana Pro","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/nano-banana-pro","href":"/api-reference/google/generate-image-with-nano-banana-pro"},{"title":"Generate image with Nano Banana 2","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/nano-banana-2","href":"/api-reference/google/generate-image-with-nano-banana-2"},{"title":"Generate image with Nano Banana 2 Lite","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/nano-banana-2-lite","href":"/api-reference/google/generate-image-with-nano-banana-2-lite"}]},{"group":"Kling","pages":[{"title":"Generate image with Kling v3","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/kling-v3","href":"/api-reference/kling/generate-image-with-kling-v3"},{"title":"Generate image with Kling v3 Omni","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/kling-v3-omni","href":"/api-reference/kling/generate-image-with-kling-v3-omni"}]},{"group":"Meta","pages":[{"title":"Generate image with Muse Image 1.0","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/muse-image-1.0","href":"/api-reference/meta/generate-image-with-muse-image-10"}]},{"group":"OpenAI","pages":[{"title":"Generate image with GPT-Image-2","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/gpt-image-2","href":"/api-reference/openai/generate-image-with-gpt-image-2"},{"title":"Generate image with GPT Image 2.6 Sunburst","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/gpt-image-2.6-sunburst","href":"/api-reference/openai/generate-image-with-gpt-image-26-sunburst"},{"title":"Generate image with GPT Image 2.6 Flare","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/gpt-image-2.6-flare","href":"/api-reference/openai/generate-image-with-gpt-image-26-flare"},{"title":"Generate image with GPT Image 2.5 Sunburst","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/gpt-image-2.5-sunburst","href":"/api-reference/openai/generate-image-with-gpt-image-25-sunburst"},{"title":"Generate image with GPT Image 2.5 Flare","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/gpt-image-2.5-flare","href":"/api-reference/openai/generate-image-with-gpt-image-25-flare"}]},{"group":"Pruna AI","pages":[{"title":"Generate image with P-Image","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/p-image","href":"/api-reference/pruna-ai/generate-image-with-p-image"},{"title":"Generate image with P-Image Edit","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/p-image-edit","href":"/api-reference/pruna-ai/generate-image-with-p-image-edit"}]},{"group":"xAI","pages":[{"title":"Generate image with Grok Imagine","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/grok-imagine-image","href":"/api-reference/xai/generate-image-with-grok-imagine"},{"title":"Generate image with Grok Imagine 2.0","deprecated":null,"version":null,"openapi":"/openapi.yaml post /images/grok-imagine-image-2","href":"/api-reference/xai/generate-image-with-grok-imagine-20"}]}]},{"group":"Videos","pages":[{"group":"Kling","pages":[{"title":"Generate video with Kling 4.0","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/kling-4.0","href":"/api-reference/kling/generate-video-with-kling-40"},{"title":"Generate video with Kling 3.0 Standard","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/kling-v3.0-standard","href":"/api-reference/kling/generate-video-with-kling-30-standard"},{"title":"Generate video with Kling 3.0 Pro","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/kling-v3.0-pro","href":"/api-reference/kling/generate-video-with-kling-30-pro"},{"title":"Generate video with Kling 3.0 4K","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/kling-v3.0-4k","href":"/api-reference/kling/generate-video-with-kling-30-4k"},{"title":"Generate video with Kling 3.0 Turbo","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/kling-3.0-turbo","href":"/api-reference/kling/generate-video-with-kling-30-turbo"},{"title":"Generate video with Kling V3 Omni","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/kling-v3-omni-video","href":"/api-reference/kling/generate-video-with-kling-v3-omni"},{"title":"Generate video with Kling v2.6 Pro","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/kling-v2.6-pro","href":"/api-reference/kling/generate-video-with-kling-v26-pro"}]},{"group":"ByteDance (SeeDance)","pages":[{"title":"Generate video with SeeDance 2.5","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/seedance-2.5","href":"/api-reference/bytedance-seedance/generate-video-with-seedance-25"},{"title":"Generate video with SeeDance 2.0","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/seedance-2.0","href":"/api-reference/bytedance-seedance/generate-video-with-seedance-20"},{"title":"Generate video with SeeDance 2.0 Fast","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/seedance-2.0-fast","href":"/api-reference/bytedance-seedance/generate-video-with-seedance-20-fast"},{"title":"Generate video with SeeDance 2.0 Mini","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/seedance-2.0-mini","href":"/api-reference/bytedance-seedance/generate-video-with-seedance-20-mini"}]},{"group":"Alibaba","pages":[{"title":"Generate video with Wan 3.0","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/wan-3.0-video","href":"/api-reference/alibaba/generate-video-with-wan-30"},{"title":"Generate video with Wan 3.0 Prime","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/wan-3.0-video-prime","href":"/api-reference/alibaba/generate-video-with-wan-30-prime"},{"title":"Generate video with Wan 2.7","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/wan-2.7-video","href":"/api-reference/alibaba/generate-video-with-wan-27"},{"title":"Generate video with HappyHorse 1.1","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/happyhorse-1.1","href":"/api-reference/alibaba/generate-video-with-happyhorse-11"}]},{"group":"MiniMax","pages":[{"title":"Generate video with MiniMax H3","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/minimax-h3","href":"/api-reference/minimax/generate-video-with-minimax-h3"},{"title":"Generate video with MiniMax H3 Max","description":"MiniMax H3 Max — the post-trained H3 variant tuned for stronger prompt adherence and aesthetics, with native audio. Text-to-video; image-to-video (start and/or end frame); reference-to-video mixing up to 5 reference images, up to 3 reference video clips (2-15s each, 15s combined — billed per second of INPUT, see POST /v1/cost) and up to 3 reference audio clips (free); and video extension (supply a `video` to continue it). 480p/768p/1080p (2K when extending), any duration 5-15 seconds. Priced per output second by resolution (see `resolution_pricing` in GET /v1/models); reference images beyond the first two add a small per-image charge.\n\n**Asynchronous.** Returns a job `id` (the video is not in this response). Poll [`GET /v1/videos/{id}`](/api-reference/videos/get-video-job-status) until `status` is `succeeded` — the video URL is in that response's `video_url`.\n\nExamples, sample output and pricing: [MiniMax H3 Max](https://budgetpixel.com/models/minimax-h3-max)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/minimax-h3-max","href":"/api-reference/minimax/generate-video-with-minimax-h3-max"}]},{"group":"Pruna AI","pages":[{"title":"Generate video with P-Video","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/p-video","href":"/api-reference/pruna-ai/generate-video-with-p-video"},{"title":"Generate video with P-Video 2 Pro","description":"Pruna AI P-Video 2 Pro — text-to-video, and image-to-video from a first frame, a last frame, or both. 480p or 768p, any length from 5 to 15 seconds, 24 fps, with generated audio. Three generation modes set the price with the resolution: `cost` (cheapest, and the fastest), `speed` (the default) and `quality` (the most detailed and the slowest). Billed per second of output; see `mode_pricing` in GET /v1/models or POST /v1/cost.\n\n**Asynchronous.** Returns a job `id` (the video is not in this response). Poll [`GET /v1/videos/{id}`](/api-reference/videos/get-video-job-status) until `status` is `succeeded` — the video URL is in that response's `video_url`.\n\nExamples, sample output and pricing: [P-Video 2 Pro](https://budgetpixel.com/models/p-video-2-pro)","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/p-video-2-pro","href":"/api-reference/pruna-ai/generate-video-with-p-video-2-pro"}]},{"group":"Black Forest Labs","pages":[{"title":"Generate video with FLUX 3 Video","deprecated":null,"version":null,"openapi":"/openapi.yaml post /videos/flux-3-video","href":"/api-reference/black-forest-labs/generate-video-with-flux-3-video"}]}]},{"group":"Music","pages":[{"group":"MiniMax","pages":[{"title":"Generate music with Music 3.0","deprecated":null,"version":null,"openapi":"/openapi.yaml post /audios/music-3.0","href":"/api-reference/music/generate-music-with-music-30"},{"title":"Generate music with Music 2.6","deprecated":null,"version":null,"openapi":"/openapi.yaml post /audios/music-2.6","href":"/api-reference/music/generate-music-with-music-26"}]},{"group":"Google","pages":[{"title":"Generate music with Lyria 3","deprecated":null,"version":null,"openapi":"/openapi.yaml post /audios/lyria-3","href":"/api-reference/music/generate-music-with-lyria-3"}]},{"group":"Mureka","pages":[{"title":"Generate music with Mureka V9","deprecated":null,"version":null,"openapi":"/openapi.yaml post /audios/mureka-v9","href":"/api-reference/music/generate-music-with-mureka-v9"}]},{"group":"Sonilo","pages":[{"title":"Generate music with Sonilo Music","deprecated":null,"version":null,"openapi":"/openapi.yaml post /audios/sonilo-music","href":"/api-reference/music/generate-music-with-sonilo-music"},{"title":"Generate music with Sonilo Video Music","deprecated":null,"version":null,"openapi":"/openapi.yaml post /audios/sonilo-video-music","href":"/api-reference/music/generate-music-with-sonilo-video-music"}]}]},{"group":"Sound Effects","pages":[{"group":"Sonilo","pages":[{"title":"Generate sound effect with Sonilo SFX","deprecated":null,"version":null,"openapi":"/openapi.yaml post /audios/sonilo-sfx","href":"/api-reference/sound-effects/generate-sound-effect-with-sonilo-sfx"},{"title":"Generate sound effect with Sonilo Video SFX","deprecated":null,"version":null,"openapi":"/openapi.yaml post /audios/sonilo-video-sfx","href":"/api-reference/sound-effects/generate-sound-effect-with-sonilo-video-sfx"}]}]},{"group":"3D Models","pages":[{"group":"Tripo","pages":[{"title":"Generate a 3D model with Tripo H3.1","deprecated":null,"version":null,"openapi":"/openapi.yaml post /3d/tripo-h3.1","href":"/api-reference/3d-models/generate-a-3d-model-with-tripo-h31"}]},{"group":"Meshy","pages":[{"title":"Generate a 3D model with Meshy 7.1","deprecated":null,"version":null,"openapi":"/openapi.yaml post /3d/meshy-7.1","href":"/api-reference/3d-models/generate-a-3d-model-with-meshy-71"},{"title":"List 3D model moves","deprecated":null,"version":null,"openapi":"/openapi.yaml get /3d/moves","href":"/api-reference/3d-models/list-3d-model-moves"}]}]},{"group":"Upscaling","pages":[{"group":"Pruna AI","pages":[{"title":"Upscale an image with P-Image Upscale","deprecated":null,"version":null,"openapi":"/openapi.yaml post /upscales/p-image-upscale","href":"/api-reference/upscaling/upscale-an-image-with-p-image-upscale"}]},{"group":"Clarity","pages":[{"title":"Upscale an image with Clarity Upscaler","deprecated":null,"version":null,"openapi":"/openapi.yaml post /upscales/clarity-upscaler","href":"/api-reference/upscaling/upscale-an-image-with-clarity-upscaler"}]},{"group":"Topaz Labs","pages":[{"title":"Upscale a video with Topaz Labs Video Upscale","deprecated":null,"version":null,"openapi":"/openapi.yaml post /video-upscales/topazlabs-video-upscale","href":"/api-reference/upscaling/upscale-a-video-with-topaz-labs-video-upscale"}]},{"group":"Black Forest Labs","pages":[{"title":"Upscale a video with FLUX 3 Video Upscale","deprecated":null,"version":null,"openapi":"/openapi.yaml post /video-upscales/flux-3-video-upscale","href":"/api-reference/upscaling/upscale-a-video-with-flux-3-video-upscale"}]}]},{"group":"Depth Maps","pages":[{"group":"ByteDance","pages":[{"title":"Make a depth map with Video Depth Anything","deprecated":null,"version":null,"openapi":"/openapi.yaml post /depth-maps/video-depth-anything","href":"/api-reference/depth-maps/make-a-depth-map-with-video-depth-anything"}]}]},{"group":"Motion Control","pages":[{"group":"BytePlus","pages":[{"title":"Motion control with DreamActor M2.0","deprecated":null,"version":null,"openapi":"/openapi.yaml post /motion-control/dreamactor-m2.0","href":"/api-reference/motion-control/motion-control-with-dreamactor-m20"}]},{"group":"Kling","pages":[{"title":"Motion control with Kling 3.0 Motion Control Standard","deprecated":null,"version":null,"openapi":"/openapi.yaml post /motion-control/kling-3-motion-control-std","href":"/api-reference/motion-control/motion-control-with-kling-30-motion-control-standard"}]}]},{"group":"Lip Sync","pages":[{"group":"BytePlus","pages":[{"title":"Lip sync with OmniHuman 2.0","deprecated":null,"version":null,"openapi":"/openapi.yaml post /lip-sync/omni-human-2.0","href":"/api-reference/lip-sync/lip-sync-with-omnihuman-20"},{"title":"Lip sync with OmniHuman 1.5","deprecated":null,"version":null,"openapi":"/openapi.yaml post /lip-sync/omni-human-1.5","href":"/api-reference/lip-sync/lip-sync-with-omnihuman-15"}]},{"group":"Pruna AI","pages":[{"title":"Lip sync with P-Video Avatar","deprecated":null,"version":null,"openapi":"/openapi.yaml post /lip-sync/p-video-avatar","href":"/api-reference/lip-sync/lip-sync-with-p-video-avatar"}]}]},{"group":"Classification","pages":[{"title":"Classify a song's music genre","deprecated":null,"version":null,"openapi":"/openapi.yaml post /classifications/music-genre","href":"/api-reference/classification/classify-a-songs-music-genre"}]},{"group":"Conversions","pages":[{"title":"Convert an image","deprecated":null,"version":null,"openapi":"/openapi.yaml post /convert/image","href":"/api-reference/conversions/convert-an-image"},{"title":"Convert a video","deprecated":null,"version":null,"openapi":"/openapi.yaml post /convert/video","href":"/api-reference/conversions/convert-a-video"},{"title":"Convert an audio file","deprecated":null,"version":null,"openapi":"/openapi.yaml post /convert/audio","href":"/api-reference/conversions/convert-an-audio-file"}]},{"group":"Moderation","pages":[{"title":"Rate content NSFW level","deprecated":null,"version":null,"openapi":"/openapi.yaml post /moderations/nsfw","href":"/api-reference/moderation/rate-content-nsfw-level"},{"title":"Check content for CSAM","deprecated":null,"version":null,"openapi":"/openapi.yaml post /moderations/csam","href":"/api-reference/moderation/check-content-for-csam"}]},{"group":"Social","pages":[{"title":"Publish a post","deprecated":null,"version":null,"openapi":"/openapi.yaml post /posts","href":"/api-reference/social/publish-a-post"},{"title":"List themes you can post to","deprecated":null,"version":null,"openapi":"/openapi.yaml get /themes","href":"/api-reference/social/list-themes-you-can-post-to"}]},{"group":"Characters","pages":[{"title":"List characters you can cast","deprecated":null,"version":null,"openapi":"/openapi.yaml get /characters","href":"/api-reference/characters/list-characters-you-can-cast"},{"title":"Get a character","deprecated":null,"version":null,"openapi":"/openapi.yaml get /characters/{handle}","href":"/api-reference/characters/get-a-character"},{"title":"Recommend influencers for a brief","deprecated":null,"version":null,"openapi":"/openapi.yaml post /characters/recommend","href":"/api-reference/characters/recommend-influencers-for-a-brief"}]},{"group":"Wardrobe","pages":[{"title":"List outfits you can use","deprecated":null,"version":null,"openapi":"/openapi.yaml get /wardrobe","href":"/api-reference/wardrobe/list-outfits-you-can-use"},{"title":"Get an outfit","deprecated":null,"version":null,"openapi":"/openapi.yaml get /wardrobe/{handle}","href":"/api-reference/wardrobe/get-an-outfit"},{"title":"Add an outfit","deprecated":null,"version":null,"openapi":"/openapi.yaml post /wardrobe","href":"/api-reference/wardrobe/add-an-outfit"}]},{"group":"Poses","pages":[{"title":"List poses","deprecated":null,"version":null,"openapi":"/openapi.yaml get /poses","href":"/api-reference/poses/list-poses"},{"title":"Get a pose","deprecated":null,"version":null,"openapi":"/openapi.yaml get /poses/{handle}","href":"/api-reference/poses/get-a-pose"},{"title":"Design a pose","deprecated":null,"version":null,"openapi":"/openapi.yaml post /poses/designs","href":"/api-reference/poses/design-a-pose"},{"title":"Get a pose design","deprecated":null,"version":null,"openapi":"/openapi.yaml get /poses/designs/{id}","href":"/api-reference/poses/get-a-pose-design"},{"title":"Make a pose view","deprecated":null,"version":null,"openapi":"/openapi.yaml post /poses/{handle}/views","href":"/api-reference/poses/make-a-pose-view"},{"title":"Get a pose view job","deprecated":null,"version":null,"openapi":"/openapi.yaml get /poses/views/{id}","href":"/api-reference/poses/get-a-pose-view-job"}]},{"group":"Jobs","pages":[{"title":"Get image job status","deprecated":null,"version":null,"openapi":"/openapi.yaml get /images/{job_id}","href":"/api-reference/images/get-image-job-status"},{"title":"Get video job status","deprecated":null,"version":null,"openapi":"/openapi.yaml get /videos/{job_id}","href":"/api-reference/videos/get-video-job-status"},{"title":"Get music job status","deprecated":null,"version":null,"openapi":"/openapi.yaml get /audios/{job_id}","href":"/api-reference/audios/get-music-job-status"},{"title":"Get 3D model job status","deprecated":null,"version":null,"openapi":"/openapi.yaml get /3d/{job_id}","href":"/api-reference/3d-models/get-3d-model-job-status"},{"title":"Get upscale job status","deprecated":null,"version":null,"openapi":"/openapi.yaml get /upscales/{id}","href":"/api-reference/upscaling/get-upscale-job-status"},{"title":"Get video upscale job status","deprecated":null,"version":null,"openapi":"/openapi.yaml get /video-upscales/{id}","href":"/api-reference/upscaling/get-video-upscale-job-status"},{"title":"Get depth map job status","deprecated":null,"version":null,"openapi":"/openapi.yaml get /depth-maps/{id}","href":"/api-reference/depth-maps/get-depth-map-job-status"},{"title":"Get motion control job status","deprecated":null,"version":null,"openapi":"/openapi.yaml get /motion-control/{id}","href":"/api-reference/motion-control/get-motion-control-job-status"},{"title":"Get lip sync job status","deprecated":null,"version":null,"openapi":"/openapi.yaml get /lip-sync/{id}","href":"/api-reference/lip-sync/get-lip-sync-job-status"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Generate video with P-Video - BudgetPixel API","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CybtLBIt.js","utils-BMLj2fvV.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B6In562Y.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dr8Mfhp9.js","snippetPresets-2rmQvMVl.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-WMqJYdZj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CJ-MlPHu.js","shallow-dY3TMRCk.js","getApiPlaygroundDisplay-v-1B2bKm.js","CodeSnippet-BDhiTB7U.js","CodeSnippets-D9hnzQcS.js","Page-C4GwDT3_.js","getPastedJson-Th2V45jI.js","icon-BQXch1W9.js","MethodPill-BCqUneP3.js","DuplicateIcon-Q_-bhurZ.js","createIcon-DUjLHRqp.js","DynamicMarkdown-B-f2cqXQ.js","SectionHeading-Da5NsV4v.js","axios-vUo_bRtp.js","Markdown-D13FWkIM.js","clsx-D3Isdib3.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-C-XZBk9h.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink--qIqmmVG.js"]}