AI Reply
Replies to comments on your posts using AI Vision to detect comments and generate contextual responses.
What It Does
Section titled “What It Does”- Analyses the screen of the comments section
- Uses AI Vision to detect visible comments (username + text)
- Finds the Reply button position for each commenter
- Generates AI-powered replies for selected comments
- Types and sends replies with human-like behavior
- Logs all actions for tracking
How It Works
Section titled “How It Works”Unlike traditional text parsing, this module uses AI Vision to “see” the comments on screen:
Screenshot → Vision AI → Detect Comments → Generate Replies → Send
This approach is more reliable because it works visually, just like a human would.
Supported AI Providers
Section titled “Supported AI Providers”| Provider | Models Available |
|---|---|
| OpenAI | GPT-4o, GPT-4o Mini, GPT-4 Turbo |
| Gemini (Google) | Gemini 1.5 Flash, Gemini 1.5 Pro |
Configuration Options
Section titled “Configuration Options”| Option | Type | Description |
|---|---|---|
| Account | Select | Account for logging and to identify own comments |
| Provider | Select | AI provider (OpenAI or Gemini) |
| API Key | Password | Your API key |
| Model | Select | AI model (GPT-4o recommended for best detection) |
| Open Comment Session | Checkbox | Open comment section before replying (disable if already open) |
| System Prompt | Textarea | Instructions for AI reply generation (fully customizable) |
| Max Replies | Number | Maximum comments to reply to per execution (default: 1) |
| Reply Order | Select | Which comments to reply first: First, Last, or Random |
| Skip Own Comments | Checkbox | Don’t reply to your own comments (default: enabled) |
| Human-like Typing | Checkbox | Type with natural delays (default: enabled) |
| Wait Between Replies | Number | Seconds to wait between multiple replies (default: 3) |
| Save Screenshots | Checkbox | Save screenshots for debugging (default: enabled) |
Reply Order Options
Section titled “Reply Order Options”| Order | Behavior |
|---|---|
| First | Reply to comments from top to bottom (oldest visible first) |
| Last | Reply to comments from bottom to top (newest first) |
| Random | Reply to comments in random order |
Default System Prompt
Section titled “Default System Prompt”You are replying to a comment on Instagram.
Important:
- Keep the reply short and natural (1-2 sentences max)- Don't use hashtags- Be conversational and friendly- Match the tone of the original comment- Don't include @mentions (Instagram adds them automatically when replying)- Return ONLY the reply text, nothing elseYou can customize this prompt to match your brand voice or specific requirements.
Features
Section titled “Features”| Feature | Description |
|---|---|
| Vision-Based Detection | Uses AI to visually identify comments on screen |
| Smart Reply Button Finding | Locates Reply button for each user in real-time |
| Skip Own Comments | Automatically skips your own comments |
| Multiple Replies | Can reply to multiple comments in one execution |
| Human-Like Typing | Types character by character with random delays |
| Reply Ordering | Choose first, last, or random comment order |
| Screenshot Storage | Saves screenshots for debugging and reference |
| Action Logging | Logs all replies to JSONL file |
Data Storage
Section titled “Data Storage”| Data | Location |
|---|---|
| Screens | Accounts/{account}/comments/replies/ |
| Reply Log | Accounts/{account}/comments/reply_log.jsonl |
Log Entry Format
Section titled “Log Entry Format”{ "original_username": "commenter_name", "original_comment": "Their comment text", "reply_text": "Your AI-generated reply", "provider": "openai", "model": "gpt-4o", "success": true, "account": "your_account", "timestamp": "2024-01-15T10:30:00Z"}Output
Section titled “Output”| Field | Description |
|---|---|
| success | True if at least one reply was sent |
| output | ”success” or “failed” |
| replies_sent | Number of replies successfully sent |
| replies_failed | Number of replies that failed |
| total_comments | Total comments detected on screen |
| duration | Execution time in seconds |
Requirements
Section titled “Requirements”- API key for OpenAI or Gemini
- Internet connection
- Must be viewing a post with comments (or enable “Open Comment Session”)
- Comments must be visible on screen
When to Use
Section titled “When to Use”- Engaging with commenters on your posts
- Building community by responding to feedback
- Automating routine responses
- Scaling engagement on high-comment posts
- Use GPT-4o for best comment detection accuracy
- Start with Max Replies = 1 to test before scaling
- Enable Skip Own Comments to avoid replying to yourself
- Customize System Prompt to match your brand voice
- Review logs to ensure replies are appropriate
- Use with moderation - too many auto-replies can seem robotic
Limitations
Section titled “Limitations”- Only detects comments currently visible on screen
- Requires vision-capable AI models
- Reply button detection depends on screen layout
- Only supports OpenAI and Gemini (no Claude, DeepSeek, etc.)
Example Workflow
Section titled “Example Workflow”🖼️ [Image: Workflow showing Start → Open Instagram → Open Post → AI Comment Reply (max 3 replies) → End]
Start → Open Instagram → Open Post → AI Comment Reply (max 3 replies) → End