Comment Generator API - Dart/Flutter Client

Comment Generator produces social media comments formatted for text or image posts across positive, negative, and neutral tones. Each request returns generated comment text with optional emoji support, while paid plans can request batches up to 10.

pub package License: MIT

This is the Dart/Flutter client for the Comment Generator API.

Installation

Add this to your pubspec.yaml:

dependencies:
  apiverve_commentgenerator: ^1.2.3

Then run:

dart pub get
# or for Flutter
flutter pub get

Usage

import 'package:apiverve_commentgenerator/apiverve_commentgenerator.dart';

void main() async {
  final client = CommentgeneratorClient('YOUR_API_KEY');

  try {
    final response = await client.execute({
      'mode': 'text',
      'tone': 'positive',
      'count': 1,
      'emojis': true
    });

    print('Status: ${response.status}');
    print('Data: ${response.data}');
  } catch (e) {
    print('Error: $e');
  }
}

Response

{
  "status": "ok",
  "error": null,
  "data": {
    "count": 5,
    "mode": "text",
    "tone": "positive",
    "comments": [
      "You're so right! is a game-changer Wow! 😍",
      "Inspiring stuff gives me all the feels Wow! ✨",
      "Thanks for sharing this gives me all the feels Perfect! 💯",
      "Exactly my thoughts is on fire Wow beyond! 🌟",
      "Great outlook in everything here, very bright! slays! For sure! 😊"
    ]
  }
}

API Reference

Authentication

All requests require an API key. Get yours at apiverve.com.

License

MIT License - see LICENSE for details.


Built with Dart for APIVerve

Libraries

apiverve_commentgenerator
Comment Generator API client for Dart/Flutter