meta-ai-api  by Strvm

Python SDK for Meta's AI API (Llama 3)

created 1 year ago
360 stars

Top 79.1% on sourcepulse

GitHubView on GitHub
Project Summary

This Python library provides an interface to Meta's AI, powered by Llama 3, enabling users to interact with its text and image generation capabilities. It's designed for developers and researchers interested in programmatically accessing Meta's AI without needing an API key, offering features like real-time streaming, conversation history, and internet-sourced information retrieval.

How It Works

The library reverse-engineers Meta's backend APIs, handling authentication and communication to provide a simplified Python interface. It leverages Bing for real-time internet access and supports streaming responses for a more interactive experience. Image generation is available for authenticated Facebook users, with the library facilitating this process.

Quick Start & Requirements

  • Install via pip: pip install meta-ai-api
  • Requires Python. Facebook authentication is needed for image generation.
  • Official documentation and examples are available in the README.

Highlighted Details

  • No API key required for text generation.
  • Supports real-time streaming of AI responses.
  • Can retrieve sources for AI-generated information.
  • Image generation functionality requires Facebook authentication.

Maintenance & Community

The project is maintained by Strvm. Further community engagement details are not specified in the README.

Licensing & Compatibility

Licensed under GNU GPL v3. This license is copyleft, meaning derivative works must also be licensed under GPL v3. Commercial use or linking with closed-source projects may be restricted due to the GPL v3's requirements. Llama 3's license should also be consulted.

Limitations & Caveats

Image generation is restricted to Facebook authenticated users. The library is intended for educational purposes, and users must adhere to Meta's terms of service. The reverse-engineered nature of the API means it could be subject to changes by Meta without notice.

Health Check
Last commit

8 months ago

Responsiveness

1+ week

Pull Requests (30d)
0
Issues (30d)
0
Star History
24 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.