vmodal_sdk_flutter
1.2.3, released 8 weeks ago by an unverified publisher
Typed VModal API client for Flutter to upload videos and search moments by meaning.
What it does
Provides a typed Dart and Flutter client for the VModal API, enabling semantic video search, streamed signed uploads with progress tracking, and per-operation cancellation. It manages project, collection, and stream scopes for Android and iOS applications.
AI-written summary of version 1.2.3, based on the package's README and metadata. Report an inaccuracy
Use it when
- Your application needs to upload videos and search them semantically by meaning, speech, text, or imagery using VModal.
- You require streamed uploads with live progress updates and cancellation support.
Skip it when
- You need a general-purpose HTTP client or a REST client not tied to the VModal backend.
- Your app targets environments where the VModal API is unavailable.
Strengths
- Typed API client with request models, responses, and preserved raw JSON.
- Supports upload progress tracking via broadcast Dart streams and per-operation cancellation tokens.
- Handles scoped project, collection, and stream organization cleanly.
Weaknesses
- Tied strictly to a proprietary backend service (VModal).
- Requires managing API keys and runtime credentials manually in the parent application.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 3
Add the package dependency, obtain a VModal API key, and configure your project scopes in code.
import 'package:vmodal_sdk_flutter/vmodal_sdk_flutter.dart';
final keys = MutableApiKeyProvider(runtimeApiKey);
final project = VModal.configure(
projectId: 'food_app',
apiKeyProvider: keys,
);
final favorites = project.scope(
collectionName: 'user_123',
streamName: 'favorites',
);
final results = await favorites.search(
'the cyclist crossing the bridge at sunset',
options: const ScopedSearchOptions(
searchSources: ['image'],
limit: 20,
),
);Alternatives
Packages that do the same job and could replace vmodal_sdk_flutter.
Works with
Packages commonly used together with vmodal_sdk_flutter: ones it builds on, ones built on it, and its own family.