All models
MiniMax Hailuo 02
Video model from minimax, good for text-to-Video, Image-to-Video.
Price
- Per video
- 0.98credits per video
Details
- Provider
- minimax
- Type
- Video
- Good for
- Text-to-Video, Image-to-Video
- Reads
- Text, Image
- Returns
- Video
Prices are in credits, drawn from one prepaid balance. See how credits work
Call it
use BitmeshAI\BitmeshClient; // Optional third argument: timeout in seconds (default 30) $client = new BitmeshClient('YOUR_CONSUMER_KEY', 'YOUR_CONSUMER_SECRET'); $response = $client->video([ 'prompt' => 'Happy happy happy cat', 'model' => 'minimax/hailuo-02', ]); $id = $response['id'] ?? null;
import os from bitmesh_ai import BitmeshClient # Optional third argument: timeout_seconds (default 30) client = BitmeshClient( os.environ["BITMESH_CONSUMER_KEY"], os.environ["BITMESH_CONSUMER_SECRET"], ) response = client.video({ "prompt": "Happy happy happy cat", "model": "minimax/hailuo-02", }) video_id = response["id"]
import Bitmesh
let client = BitmeshClient(key: consumerKey, secret: consumerSecret)
let response = try await client.video(payload: [
"prompt": "Happy happy happy cat",
"model": "minimax/hailuo-02",
])
import 'package:bitmesh_flutter_sdk/bitmesh_flutter_sdk.dart'; // Create one client and reuse it final client = BitmeshClient.fromKeys(consumerKey, consumerSecret); final job = await client.video.create(const VideoRequest( prompt: 'Happy happy happy cat', model: 'minimax/hailuo-02', )); final id = job.id;
The SDK signs the request with your key and secret. Installing it is covered in the documentation.