Skip to main content
Bob is a powerful translation and OCR software for macOS and iOS. Through Laozhang API, you can integrate various advanced AI models into Bob for translation, polishing, summarizing and other functions.

Quick Integration

Step 1: Install Bob

  1. Visit Bob Official Website to download and install
  2. Or install via Homebrew:

Step 2: Install OpenAI Plugin

  1. Open Bob application
  2. Click the menu bar icon, select “Preferences”
  3. Go to “Plugins” tab
  4. Search for “OpenAI Translate” plugin
  5. Click “Install” button

Step 3: Configure Laozhang API

1

Open Plugin Settings

Find “OpenAI Translate” plugin in the plugin list, click the settings icon
2

Fill In API Configuration

Configure the following information:
  • API Base URL: https://api2.laozhang.ai
  • API Key: Enter your Laozhang API key
  • Model: Select the model you need (e.g., gpt-4-turbo)
3

Test Configuration

Click “Test” button to ensure connection is successful
4

Save Settings

Click “Save” button to complete configuration
Obtaining API KeyVisit Laozhang API Console to create and obtain your API key.
Choose appropriate models based on different translation scenarios:
Cost vs. Quality Trade-off
  • Daily use: Recommend gpt-3.5-turbo, cost-effective
  • Important documents: Recommend gpt-4-turbo or claude-sonnet-4, higher quality
  • Large batches: Consider using gpt-3.5-turbo combined with manual proofreading

Core Features

1. Text Translation

Select any text, use shortcuts to translate:
  • Screenshot Translation: ⌥ + A
  • Selection Translation: ⌥ + D
  • Input Translation: ⌥ + S

2. OCR Text Recognition

Extract text from images:
  • Support multiple languages
  • High recognition accuracy
  • Direct translation of recognition results

3. Text Polishing

Optimize your text:
  • Grammar check
  • Expression optimization
  • Style adjustment
  • Tone conversion

4. Text Summarization

Quickly summarize long text:
  • Extract key points
  • Generate abstracts
  • Refine core ideas

Practical Examples

Scenario 1: Web Translation

Browsing foreign language websites:
  1. Select the text you want to translate
  2. Use shortcut ⌥ + D
  3. View translation result in popup

Scenario 2: Document Translation

Translating professional documents:
  1. Copy document text
  2. Use shortcut ⌥ + S
  3. Input or paste text
  4. Get high-quality translation

Scenario 3: Paper Reading

Reading English papers:
  1. Screenshot paper paragraphs
  2. Use shortcut ⌥ + A
  3. OCR extracts text
  4. Automatic translation display

Scenario 4: Email Writing

Writing English emails:
  1. Write Chinese draft
  2. Use translation feature
  3. Get English version
  4. Use polishing feature for optimization

Advanced Configuration

Custom Prompts

Customize prompts for translation:

Multi-model Configuration

Configure different models for different scenarios:

Shortcut Customization

Customize shortcuts as needed:

Troubleshooting

Connection Failed

Problem: Unable to connect to API Solutions:
  1. Check if API Base URL is correct: https://api2.laozhang.ai
  2. Verify API Key validity
  3. Check network connection
  4. Confirm firewall settings

Translation Quality Poor

Problem: Translation results don’t meet expectations Solutions:
  1. Try using a more advanced model (e.g., switch from GPT-3.5 to GPT-4)
  2. Adjust temperature parameter (lower = more accurate, higher = more diverse)
  3. Optimize prompt template
  4. Provide more context information

Slow Response

Problem: Translation speed is slow Solutions:
  1. Switch to a faster model (e.g., gpt-3.5-turbo)
  2. Reduce max_tokens setting
  3. Check network speed
  4. Try during off-peak hours

High Cost

Problem: Usage costs are too high Solutions:
  1. Use gpt-3.5-turbo for daily translation
  2. Use advanced models only for important content
  3. Set reasonable max_tokens limits
  4. Regularly check usage

Best Practices

1. Choose Models Wisely

Choose appropriate models based on scenarios:

2. Optimize Prompts

Provide clear translation requirements:

3. Context Management

Provide necessary context information:
  • Document type (paper, email, chat, etc.)
  • Domain background (technical, medical, legal, etc.)
  • Target audience (professional, general public, etc.)
  • Style requirements (formal, casual, etc.)

4. Result Verification

Check translation quality:
  • Verify terminology accuracy
  • Check logic coherence
  • Confirm style appropriateness
  • Proofread for typos

Usage Tips

Efficient Workflow

Batch Processing

Handle large amounts of text:
  1. Split large text into appropriate blocks
  2. Process each block sequentially
  3. Merge results
  4. Perform overall proofreading

Quality Control

Ensure translation quality:
  1. Initial Translation: Use GPT-3.5 for rough translation
  2. Accuracy Check: Important parts use GPT-4 for retranslation
  3. Style Polishing: Use Claude for style optimization
  4. Final Review: Manual review and adjustment

Plugin Extensions

Plugin Combination Strategies

Cost Optimization

Usage Strategy

Budget Control

Set budget control:
  1. Daily Cap: Limit daily maximum usage
  2. Priority Allocation: Allocate quota by importance
  3. Monitor Usage: Regularly check usage
  4. Optimize Model Selection: Adjust model strategy based on actual needs

Further Learning

Official Resources

Learning Resources

Community Support

Need more help? Please visit Laozhang API Official Website or contact our support team.