Media APIs
Generate and edit images, video, and audio through APIs.

Wan 3.0 API: How to Generate and Extend AI Videos
Turn a prompt or image into a Wan 3.0 video, extend a short clip, and save the result through Tokenhot's documented API.

MiniMax H3 API: Which Video Generation Mode Should You Use?
Choose the right MiniMax H3 input for your video: a written scene, fixed frames, or reference images, clips, and audio. Includes Tokenhot request examples.

How to Extend a Veo 3.1 Video Through an API
Generate a Veo task, pass its ID into the extension request, track the new child task, and save both videos without confusing their outcomes.

Grok Imagine Video API: Animate a Product Image
Prepare one public product image, submit a Grok image-to-video task, track the correct task ID, and save its result without repeating generation.

Gemini TTS API: From Text to Playable Audio in Python
Use Tokenhot’s documented Gemini 2.5 TTS route, select a voice, decode the returned audio format, and recover saved responses without another synthesis.

MiMo TTS API: Turn Text into a Playable WAV File
Use the MiMo preset-voice route, decode its Base64 audio into WAV, validate the saved file, and recover locally without repeating synthesis.

Kling 3 API: First and Last Frames to a Saved Video
Build a two-frame Kling 3 request, preserve the submission, query a confirmed task ID, and download the result without repeating video generation.

Nano Banana Pro and 2 API: Choose a Tokenhot Route and Save Images in Python
Compare Tokenhot's nano-banana-pro and nano-banana-2 route IDs, send a documented JSON request, and download the returned image in Python.

GPT Image 2 API: Generate, Edit, and Save Images in Python
Use Tokenhot's GPT Image 2 routes from Python to generate an image, edit from a reachable image URL, and save each result with a response-first workflow.

Seedream 5.0 Pro API: Generate and Edit Images
Use Tokenhot's Seedream 5.0 Pro API for image generation and editing. Learn the model ID, reference-image inputs, size settings, and response handling.

Qwen3.8-Omni-Flash API: Inputs, Outputs, and Setup
Connect Qwen3.8-Omni-Flash for audio and video understanding. Compare API payloads, try a Python example, and check output and gateway limits.