smartlinks_ai

AI Gateway client for SmartLinks — chat, vision, transcribe, image, and speech pipelines via the native bridge.

Recommended: SmartLinks.ai and SmartLinks.openAiTest() via smartlinks_flutter. Full docs: repository README.

Features

  • SmartLinksAiGatewaychat, vision, transcribe, image, speech, runPipeline
  • Optional AI test UI for integrators (openAiChatTest / SmartLinks.openAiTest)
  • Customizable AiStrings + SmartLinksTheme

Quick start

import 'package:smartlinks_flutter/smartlinks_flutter.dart';

await SmartLinks.initialize(apiKey: 'YOUR_KEY');

// Test harness screen
await SmartLinks.openAiTest(context);

// Headless
final response = await SmartLinks.ai.chat(
  AiChatOptions(
    messages: [AiChatMessage(role: 'user', content: 'Summarize this app')],
  ),
);

Requires iOS/Android native bridge (not available on web).

License

MIT — see LICENSE.

Libraries