movoa 0.1.0
movoa: ^0.1.0 copied to clipboard
Official SDK for Movoa (movoa.ai), the AI video generator with sound. Text to video and photo to video from Dart with your Movoa API key.
import 'dart:io';
import 'package:movoa/movoa.dart';
Future<void> main() async {
final movoa = Movoa(); // reads MOVOA_API_KEY
try {
print(await movoa.generateVideo(
'a lighthouse in a storm, waves crashing, distant thunder',
options: {'duration': 6, 'aspect_ratio': '16:9'}));
} on MovoaException catch (e) {
stderr.writeln(e);
exitCode = 1;
} finally {
movoa.close();
}
}