

Start with Magic Hour if your app needs image generation, video generation and related editing tools in one media workflow. Compare Replicate, fal and Runware when your priority is choosing among many hosted models. OpenAI suits direct GPT Image integration, Runway provides its own video and editing models, Leonardo connects visual experimentation to API code, Google offers its image and video models through cloud APIs, and Hugging Face supports dedicated model deployment.
Choose the provider and the model separately. The provider determines authentication, billing, queues, support and file delivery. The selected model determines which inputs, controls and outputs your feature can use.
Provider | Most useful when | Image/video coverage | Cost basis |
|---|---|---|---|
Building a connected image, video and media-editing workflow | Generation plus tasks such as image editing, face swap, lip sync and upscaling | Credits specific to the endpoint, model and settings | |
Evaluating hosted models with different capabilities | Both, depending on the model | Official models use defined output/input units; community models generally use compute time | |
Integrating model endpoints with managed queues and SDKs | Both, plus other modalities | Usually per output unit; model-specific rates and some compute-based exceptions | |
Using a common task interface across model providers | Both, plus editing and other tasks | Model-specific request or compute pricing | |
Designing generations visually before exporting API code | Image generation/editing and video workflows | Pay-as-you-go API credits or custom terms | |
Direct image generation and reference-based editing | Image generation and editing; GPT Image models do not generate video | Text/image input tokens and image output tokens | |
Integrating Runway video generation and editing | Both, with capabilities defined per model | API credits per image, video second or other model-specific unit | |
Working directly with Google models and cloud infrastructure | Imagen/Gemini image workflows and Veo video | Model-, modality- and output-specific rates | |
Deploying a compatible model on dedicated infrastructure | Depends on the model and serving implementation | Provisioned instance usage, with hourly rates billed by the minute |
Reviewed September 13, 2026. This is a documentation-based comparison, not a measured speed or quality ranking. Magic Hour publishes this guide and is included in the comparison. Provider examples show capabilities; your own files and acceptance criteria determine whether the outputs work for your product.
Send one representative image or video brief through the exact endpoint, retain every request and result, and calculate accepted-output cost before increasing traffic.
Explore Magic Hour APIMagic Hour’s API documentation covers text-to-video, image-to-video, image generation and editing, plus workflows including face swap, talking photos, lip sync, background removal and upscaling. That is useful when the feature extends beyond generating one isolated image or clip.
For example, a product-marketing workflow might create a scene around a supplied product image, animate the approved image and add a separate localized presenter asset. Each step still needs its own supported inputs and output review.
What to check: The model and credit reference lists exact model IDs, supported resolutions, durations and rates. Free-plan access still consumes credits. Video cost changes with model, duration, resolution and, where applicable, audio. Select a model explicitly when you need reproducible settings; the default recommendation can change.
First step: Try the intended visual task in Image-to-Video or AI Image Editor, then use the matching documented endpoint for your integration. A browser tool’s free allowance is not a promise of the same API allowance.
Replicate offers a common platform for running models, but its two model categories have different operating assumptions. Official models have maintained APIs, warm availability and pricing by defined units such as images or video seconds.
Community models are maintained by their creators, generally billed by hardware runtime and can experience cold starts. Their documentation, licenses and support vary. You can create dedicated deployments when you need more control.
Use it for: Trying several model families without building GPU-serving infrastructure for each one.
What to check: Pin community model versions, review the specific model license and distinguish a per-output price from an estimated runtime cost. Do not assume a free credit offer or one model’s latency applies to the entire catalog.
fal’s Model APIs provide hosted image, video and other models through HTTP and supported clients. Its queue handles status tracking; the subscribe pattern handles polling for callers that want to wait for a result.
Use it for: A product that needs hosted models, documented input schemas and managed asynchronous execution.
What to check: fal’s pricing documentation bills Model APIs by each model’s unit, such as an image, megapixel, video or video second. Some models use compute-based billing. Deploying your own application on fal Serverless is a different product and pricing path. An hourly GPU quote should not be presented as the price of generating an image through a prebuilt model endpoint.
Measure latency using your chosen model and workload before designing a “results in three seconds” experience. The provider name alone cannot establish that promise. For a measured first-party reference, our 30-day Magic Hour API latency benchmark reports p50 end-to-end completion time and successful-job sample sizes for 11 video endpoints; it is an internal baseline, not a cross-provider ranking.
Runware offers image, video, editing and other models through a common API. Requests use a task array, and its documentation covers REST, WebSockets and asynchronous result delivery. Its model identifiers identify what you are actually calling.
Use it for: An application that wants several model choices within a shared request and billing interface.
What to check: Read the task and model documentation for the selected operation. Different models can require different references, dimensions and controls even when the surrounding interface is shared. Keep the provider name distinct from the model author: Runware is not the creator of every model it hosts.
For pricing, compare the exact model and settings. A low example price or a vendor’s savings claim is not a universal rate for all images and videos.
Leonardo’s API product emphasizes a visual design workflow: configure a generation, inspect the result and export the corresponding API code. It also offers reusable blueprints for workflows such as mockups and upscaling.
Use it for: A team that wants designers and developers to agree on a generation’s settings before integrating it.
What to check: Leonardo currently lists pay-as-you-go API credits and custom plans. API requests cost API credit; a free website account does not make production requests free. Its public page lists up to 10 concurrent generations on pay-as-you-go, with custom limits available. Confirm your account’s current allowance before estimating how long a batch will take.
OpenAI introduced GPT Image 2.5 Flare and Sunburst on September 8, 2026. Flare is positioned for everyday generation; Sunburst emphasizes editing precision. These are image models, not video generators.
Use it for: A feature centered on creating or revising images from text and image references using OpenAI directly.
What to check: The Flare model page and Sunburst model page list quality options, rate limits and token pricing. Both list $5 per million text input tokens, $8 per million image input tokens and $30 per million image output tokens, before applicable caching. These are token rates, not a fixed price per image.
The documentation explicitly says the GPT Image 2 calculator does not estimate GPT Image 2.5 token consumption. Record actual usage for your chosen size, quality and editing inputs rather than reusing an older per-image estimate. A ChatGPT subscription is also a separate product from API billing.
Runway’s API model documentation and pricing reference cover generation and editing models, including Gen-4.5 and Aleph 2.0. Its API has published usage tiers; the old description of a generally invite-only API with a waitlist is not a useful account of current access.
Use it for: Building a feature around a specific Runway model or supported editing operation.
What to check: Supported inputs, duration, output format and concurrency limits depend on the model and account tier. API credits are separate from web-app subscription credits. Professional or HDR output formats can add surcharges, so compare the export you will actually deliver.
Google offers image generation and editing through models such as Gemini and Imagen, and video generation through Veo. Google Cloud and the Gemini Developer API have their own setup, availability and billing documentation.
Use it for: Working directly with a Google model, especially when your application already uses the corresponding cloud infrastructure.
What to check: Begin with the Gemini image-generation guide or Veo guide, then use pricing for the same API surface. Google Cloud’s pricing table separates image generation, editing, upscaling and video settings. A Google AI consumer subscription or Flow credit allowance is not a direct API rate.
Hugging Face Inference Endpoints lets you deploy compatible models on dedicated infrastructure. This can suit custom weights, a specific serving implementation or deployment requirements that a shared model API does not meet.
Use it for: A team prepared to choose the model, hardware and scaling configuration, and to maintain the application around them.
What to check: The pricing documentation lists instance rates and bills by the minute, including applicable initialization and running time. Small CPU-instance prices are not GPU-generation prices. Dedicated hosting is not automatically cheaper: utilization, cold starts, engineering time and required capacity determine the economics.
Use a fixed deliverable and include attempts you will discard. These examples illustrate billing math; they do not compare visual quality.
Example job | Published rate used | Calculated generation charge |
|---|---|---|
100 generated image candidates using Imagen 4 Fast on Google Cloud | $0.02 per image | $2 for generation |
20 eight-second Gen-4.5 video candidates through Runway’s API, before optional format surcharges | 12 credits per second at $0.01 per credit | 1,920 credits, or $19.20 |
320 generated seconds at the same rate | 3,840 credits, or $38.40 |
Sources: Google Cloud pricing and Runway API pricing. These amounts exclude other services, storage, delivery, taxes and any minimum funding requirement.
For a credit-based provider, calculate the job in its own credits first, then use your actual funding terms to convert it to money. For dedicated compute, include running capacity rather than counting only completed files.
Finally, calculate total relevant spend ÷ accepted outputs. If only half of 100 generated images meet your requirements, your generation cost per accepted image is twice the cost per generated image. Keep API failures and visually rejected outputs separate because providers can bill them differently.
Our commercial image-to-video benchmark includes source images, exact prompts, request records and output files for 60 attempts across five named model selections through Magic Hour. Fifty-eight completed with downloadable videos. That establishes recorded completion, not a quality winner or a customer conversion rate.
Use the product, footwear, coffee and interior examples to identify details your own workflow must preserve. For a product ad, inspect the label, shape, materials and complete motion sequence. A technically successful API response can still contain a video you should not publish.
For images, use one repeatable task: place the supplied product on a neutral studio background, preserve its label and proportions, and return the required image size. Then ask for one specific edit, such as changing only the background color. Inspect what changed and what should have stayed fixed.
After a timeout, look up an existing job before sending another creation request. Otherwise, a retry can create a second billable generation. Use idempotency features where the selected API documents them.
Start with Magic Hour when you want generation and related media-editing tasks in one workflow. Compare Replicate, fal or Runware when choosing among hosted model families is the main requirement. Make the final choice on a representative task, not catalog size alone.
There is no useful universal answer without the model, output settings and workload. Compare cost per accepted image or clip. Include retries, unused provisioned capacity and minimum payments; do not compare a GPU-hour price directly with a per-image rate.
Some providers offer limited trial credits or free access to selected models. Verify the current account offer, supported settings and credit allowance. A free playground, website tier or model download does not imply unlimited free API inference.
You can keep your application’s job and file handling separate from provider-specific requests. But inputs, supported settings, moderation, billing and outputs can differ even for similarly named models. Recheck the complete workflow when switching.
See our image-generator API guide, image-to-video API comparison, or image-upscaling API guide. If you already know which Magic Hour task you need, go straight to its API documentation.
