omniflash_sdk 0.1.0 copy "omniflash_sdk: ^0.1.0" to clipboard
omniflash_sdk: ^0.1.0 copied to clipboard

Omni Flash Dart SDK — generate short videos (with synchronized audio) and images using the Gemini Omni Flash family of models.

example/main.dart

import 'package:omniflash_sdk/omniflash_sdk.dart';

Future<void> main() async {
  // Reads OMNIFLASH_API_KEY from the environment.
  // Sign in at https://omniflash.net/ to issue one.
  final client = OmniFlash();

  final task = await client.run(
    modelId: 'seedance-2',
    prompt: 'a kettle whistles as steam rises, cozy kitchen, warm light',
    aspectRatio: '16:9',
  );

  print('video: ${task.videoUrl}');
  print('audio: ${task.audioUrl}');
  client.close();
}
0
likes
160
points
186
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Omni Flash Dart SDK — generate short videos (with synchronized audio) and images using the Gemini Omni Flash family of models.

Homepage
Repository (GitHub)
View/report issues

Topics

#ai #video #image #omniflash

License

MIT (license)

Dependencies

http

More

Packages that depend on omniflash_sdk