Search

Search HiAPI models, tools, and resources.

Blog

AI Image & Video API Guides

Hands-on model tests, production tutorials, prompt techniques, and current API pricing for generative media teams.

Flux-2-Klein-9b Image-to-Image for E-Commerce Product Photos
Guide
Aug 14, 2026

Flux-2-Klein-9b Image-to-Image for E-Commerce Product Photos

flux-2-klein-9b/image-to-image turns one existing product photo into a studio-clean master, then chains color and lifestyle variants from that master — no reshoot needed. Each edit costs $0.03143 per image at hiapi's current pricing, about 4.4x the smaller flux-2-klein-4b/image-to-image tier, in exchange for higher-fidelity detail and color edits. The image-to-image schema is deliberately minimal: one prompt, one reference image (image_urls capped at 1), no resolution or aspect_ratio parameter — output dimensions follow the input photo. Anchoring prompts on what stays the same (shape, cap, proportions) before describing the change is what keeps product identity locked across chained edits. A batch script pattern (submit_edit + wait_and_download over a list of image/prompt tuples) scales the same workflow across a full product catalog.

Read more
MiniMax H3 for Short-Form Video: A Hands-On Guide to the hiapi API
Guide
Aug 14, 2026

MiniMax H3 for Short-Form Video: A Hands-On Guide to the hiapi API

MiniMax H3 generates natively at 2K and renders clean vertical 9:16 output — no cropping or upscaling needed for TikTok/Reels/Shorts delivery. Use text-to-video, frame control with first_frame_image and optional last_frame_image, or separate multimodal reference fields. Clips run 4 to 15 seconds at $0.1189/second — a 4-second clip costs roughly $0.48, a 15-second clip roughly $1.78. Specific, physical prompt language (materials, light direction, camera framing) produced a clean, on-model result in our test — vague prompts are the most common cause of drifting or generic-looking output. All requests go through hiapi's single asynchronous task endpoint, the same submit-and-poll shape used across every video model on the platform.

Read more
Cinematic Camera Movements in AI Video: A Prompt Guide for Kling, Veo, Grok Imagine, and Seedance
Guide

Cinematic Camera Movements in AI Video: A Prompt Guide for Kling, Veo, Grok Imagine, and Seedance

Naming the camera movement explicitly (push-in, pan, orbit, crane) is the biggest lever for cinematic AI video — vague prompts default to static shots. Push-in and orbit were the most reliable movements across Kling 3.0 Turbo, Veo 3.1, Grok Imagine 1.5, and Seedance 2.5. Seedance 2.5's reference-to-video mode can lift a camera path from an existing clip and reapply it to a new subject via @video1. Veo 3.1 handled wide-geography pans and pull-backs best; Kling 3.0 Turbo and Grok Imagine 1.5 were stronger for close-range product moves. Grok Imagine 1.5 is the cheapest model to iterate camera-movement prompts on, at $0.015–$0.0282 per second.

Read moreAug 14, 2026
LTX-2.5 API Alternatives: 3 HiAPI Video Models Compared
Comparison
Aug 13, 20265 min read

LTX-2.5 API Alternatives: 3 HiAPI Video Models Compared

fal.ai launched LTX-2.5 across 18 pages at once (t2v/i2v/audio-to-video x Fast/Pro), a strong signal of launch-period search demand. LTX-2.5 is not in HiAPI's model catalog -- this article explains what it claims, without linking fal.ai. wan2.7-video is the cheapest per-second option but has no native audio. seedance-2.5 and veo-3.1 both generate native audio; seedance-2.5 goes up to 30s, veo-3.1 goes up to 4K. All three are callable today via HiAPI's single /v1/tasks endpoint.

Read more
Flux-2-Klein-4b Image-to-Image for E-Commerce Product Photos
Guide
Aug 12, 2026

Flux-2-Klein-4b Image-to-Image for E-Commerce Product Photos

flux-2-klein-4b/image-to-image edits an existing product photo instead of generating one from scratch, keeping shape, logo, and proportions stable. Two real edits are shown end to end: a background swap into a lifestyle scene, and a material swap from matte black to tan leather. The reliability trick is naming what must stay fixed before describing the change — vague style words drift more than literal, scoped instructions. A batch Python script covers running the same pattern across a full product catalog via hiapi's async /v1/tasks endpoint. At 1MP resolution each edit costs $0.00715 (as of 2026-08); higher resolution tiers cost more.

Read more
How to Use the qwen-image-3.0 API: curl, Python, and a Working Request
Tutorial
Aug 11, 2026

How to Use the qwen-image-3.0 API: curl, Python, and a Working Request

Qwen Image 3.0 is live on hiapi's async /v1/tasks API in four entries: qwen-image-3.0/text-to-image, /image-to-image, and the Pro versions. Set aspect_ratio (default 1:1) and resolution (1K or 2K); standard costs $0.0358 at either size. The old model id qwen-image-3.0 and its size field no longer work: the id returns MODEL_UNAVAILABLE and size is rejected. Includes working curl and Python examples plus callback, idempotency, and error-handling guidance for production use.

Read more
How to Use the Qwen Image 3.0 Pro API: curl, Python, and a Working Request
Tutorial
Aug 11, 2026

How to Use the Qwen Image 3.0 Pro API: curl, Python, and a Working Request

Qwen Image 3.0 Pro is live on hiapi's async /v1/tasks API as qwen-image-3.0-pro/text-to-image and /image-to-image. Set aspect_ratio and resolution (1K $0.0497, 2K $0.0993); image-to-image takes 1–3 references at no extra cost. The old model id qwen-image-3.0-pro and its size field no longer work: the id returns MODEL_UNAVAILABLE and size is rejected. Includes working curl and Python examples plus callback, idempotency, and error-handling guidance.

Read more
Seedance 2.5 Image-to-Video Prompts: A First-Last-Frame Recipe With a Real Rendered Example
Guide
Aug 11, 20266 min read

Seedance 2.5 Image-to-Video Prompts: A First-Last-Frame Recipe With a Real Rendered Example

Seedance 2.5 image-to-video accepts a first frame, or a first+last frame pair, and interpolates the motion between them — the last-frame option is what makes it different from a plain text-to-video model. Pricing is $0.2040 per second at 720p and $0.5160 at 1080p; the cheapest legal clip is 4 seconds at 720p, or $0.8160. Output aspect ratio always follows the first frame image — there is no separate aspect_ratio choice, so get your frame's crop right before you submit the task. Below is one real recipe run end-to-end: two self-generated frame images, the exact prompt and request JSON used, and the actual rendered 4-second clip — not a mockup. The output includes a native synchronized audio track by default; you don't need to request it separately.

Read more
Seedance 2.5 Text-to-Video API: curl and Python Guide
Tutorial
Aug 10, 2026

Seedance 2.5 Text-to-Video API: curl and Python Guide

seedance-2.5/text-to-video makes 4–30 second clips with native sound from a single prompt. Pricing is $0.204 per second at 720p and $0.516 at 1080p; a 5-second 720p clip is $1.02. Submit with POST /v1/tasks, poll GET /v1/tasks/{taskId}, and save output[0].url before it expires.

Read more
How to Use the seedance-2.5/reference-to-video API: curl, Python, and a Working Request
Tutorial
Aug 10, 2026

How to Use the seedance-2.5/reference-to-video API: curl, Python, and a Working Request

Minimal curl and Python calls that create a real seedance-2.5/reference-to-video task and poll it to completion. Multimodal references: reference_video_urls is required, reference_image_urls and reference_audio_urls are additive layers on top. Production patterns: callback vs polling, duration/resolution/aspect_ratio limits, pricing, and the exact 401 error shape to handle.

Read more

Build with the models you just read about.

Compare image, video, and audio models, then use the same API workflow in production.