MiniMax H3 API Ruby SDK for RunAPI
Use runapi-minimax-h3 for MiniMax H3 video tasks in Ruby.
gem install runapi-minimax-h3
require "runapi/minimax_h3"
client = RunApi::MiniMaxH3::Client.new
result = client.text_to_video.run(
model: "minimax-h3",
prompt: "A cinematic tracking shot through a rain-soaked city",
aspect_ratio: "16:9"
)
puts result.videos.first.url
Use text_to_video for prompt-only or reference-media generation. Use image_to_video with a first frame, last frame, or both. Each resource provides create, get, and run.
Licensed under the Apache License, Version 2.0.