Create your API key
Sign up and grab an API key from the PiAPI workspace — free credits are included on sign-up.
Sign up and grab an API key from the PiAPI workspace — free credits are included on sign-up.
Add credits on the billing page when you are ready to scale beyond the free tier.
POST your first task following the API docs, then poll the task until the result is ready.
Use the API docs and the request example above to iterate on prompts and settings before wiring them into your product.
An AI advertisement video generator creates short ad videos from inputs such as a product image, script, actor reference, logo, aspect ratio, and duration. It helps turn campaign ideas into testable video creatives quickly.
No. The product image and script are the core inputs. If you do not upload an actor, the tool creates a product-focused ad using product shots, lifestyle scenes, captions, and visual storytelling.
Yes. Logo upload is optional. If a logo is provided, the prompt places it near the end of the video with the final call to action.
No. You can use pay-as-you-go credits for on-demand generation. PiAPI also offers subscription plans for users and teams with recurring generation needs.
Yes. Instead of a physical product photo, upload a service reference image such as a clean living room, clinic interior, salon setup, restaurant dish, gym session, storefront, or finished result.
Use a clear, well-lit image with minimal clutter. For products, show the item clearly. For services, show the environment, result, or customer experience the ad should promote.
Use 9:16 for TikTok, Instagram Reels, and YouTube Shorts. Use 16:9 for YouTube, websites, and commercial-style videos. Use 1:1 for Instagram, Facebook, and LinkedIn feed ads.
The playground currently supports 5-second, 10-second, and 15-second options. Shorter clips are better for quick hooks, while 10-15 seconds gives more room for benefits and a CTA.
Use JPG, PNG, WebP, or BMP images under 30 MB. Images should be larger than 300 px on each side, under 6000 px on each side, and within a 0.4 to 2.5 aspect ratio.
Yes. The playground normalizes logo uploads onto a square PNG canvas before upload, which helps avoid issues with very wide or short logo files.
More questions? See the API docs.
AI Advertisement Video Generator