55[ ![ Python Version] ( https://img.shields.io/badge/python-3.7%2B-blue?style=for-the-badge&logo=python&logoColor=white )] ( https://www.python.org/downloads/ )
66[ ![ License] ( https://img.shields.io/badge/license-MIT-green?style=for-the-badge )] ( LICENSE )
77[ ![ PyPI] ( https://img.shields.io/badge/PyPI-v2.0.0-orange?style=for-the-badge&logo=pypi&logoColor=white )] ( https://pypi.org/project/metaai-api/ )
8- [ ![ GitHub] ( https://img.shields.io/badge/GitHub-mir--ashiq-black?style=for-the-badge&logo=github )] ( https://github.com/mir-ashiq/meta-ai-python )
8+ [ ![ GitHub] ( https://img.shields.io/badge/GitHub-mir--ashiq-black?style=for-the-badge&logo=github )] ( https://github.com/mir-ashiq/metaai-api )
99
1010** Unleash the Power of Meta AI with Python** 🚀
1111
@@ -71,8 +71,8 @@ All in one SDK
7171pip install metaai-api
7272
7373# Or clone from GitHub
74- git clone https://github.com/mir-ashiq/meta-ai-python .git
75- cd meta-ai-python
74+ git clone https://github.com/mir-ashiq/metaai-api .git
75+ cd metaai-api
7676pip install -e .
7777```
7878
@@ -107,7 +107,7 @@ with the Celtics winning Game 5 at TD Garden in Boston.
107107### Example 2: Get Stock Market Info
108108
109109``` python
110- from meta_ai_api import MetaAI
110+ from metaai_api import MetaAI
111111
112112ai = MetaAI()
113113response = ai.prompt(" What is the current price of Bitcoin?" )
@@ -130,7 +130,7 @@ largest cryptocurrency by market cap.
130130### Example 3: Solve Math Problems
131131
132132``` python
133- from meta_ai_api import MetaAI
133+ from metaai_api import MetaAI
134134
135135ai = MetaAI()
136136
@@ -167,7 +167,7 @@ This calculation uses the compound interest formula: A = P(1 + r/n)^(nt)
167167Watch responses appear in real-time, like ChatGPT:
168168
169169``` python
170- from meta_ai_api import MetaAI
170+ from metaai_api import MetaAI
171171
172172ai = MetaAI()
173173
@@ -194,7 +194,7 @@ cryptography, and complex simulations.
194194Have natural back-and-forth conversations:
195195
196196``` python
197- from meta_ai_api import MetaAI
197+ from metaai_api import MetaAI
198198
199199ai = MetaAI()
200200
@@ -226,7 +226,7 @@ Q3: The capital of France is Paris, located in the...
226226Route your requests through a proxy:
227227
228228``` python
229- from meta_ai_api import MetaAI
229+ from metaai_api import MetaAI
230230
231231# Configure proxy
232232proxy = {
@@ -256,7 +256,7 @@ Create AI-generated videos from text descriptions!
256256### Example 1: Generate Your First Video
257257
258258``` python
259- from meta_ai_api import MetaAI
259+ from metaai_api import MetaAI
260260
261261# Your browser cookies
262262cookies = {
@@ -309,7 +309,7 @@ else:
309309### Example 2: Generate Multiple Videos
310310
311311``` python
312- from meta_ai_api import MetaAI
312+ from metaai_api import MetaAI
313313import time
314314
315315ai = MetaAI(cookies = cookies)
@@ -354,7 +354,7 @@ print(f"\n🎉 Generated {len(videos)} videos successfully!")
354354### Example 3: Advanced Video Generation
355355
356356``` python
357- from meta_ai_api import MetaAI
357+ from metaai_api import MetaAI
358358
359359ai = MetaAI(cookies = cookies)
360360
@@ -384,7 +384,7 @@ if result["success"]:
384384Generate AI-powered images (requires Facebook authentication):
385385
386386``` python
387- from meta_ai_api import MetaAI
387+ from metaai_api import MetaAI
388388
389389# Initialize with Facebook credentials
390390ai = MetaAI(fb_email = " your_email@example.com" , fb_password = " your_password" )
@@ -486,7 +486,7 @@ class MetaAI:
486486#### VideoGenerator Class
487487
488488``` python
489- from meta_ai_api import VideoGenerator
489+ from metaai_api import VideoGenerator
490490
491491# Direct video generation
492492generator = VideoGenerator(cookies_str = " your_cookies_as_string" )
@@ -574,7 +574,7 @@ Load in Python:
574574``` python
575575import os
576576from dotenv import load_dotenv
577- from meta_ai_api import MetaAI
577+ from metaai_api import MetaAI
578578
579579load_dotenv()
580580
@@ -591,7 +591,7 @@ ai = MetaAI(cookies=cookies)
591591### Error Handling
592592
593593``` python
594- from meta_ai_api import MetaAI
594+ from metaai_api import MetaAI
595595
596596ai = MetaAI(cookies = cookies)
597597
@@ -618,7 +618,7 @@ except Exception as e:
618618```
619619meta-ai-python/
620620│
621- ├── 📁 src/meta_ai_api / # Core package
621+ ├── 📁 src/metaai_api / # Core package
622622│ ├── __init__.py # Package initialization
623623│ ├── main.py # MetaAI class
624624│ ├── video_generation.py # Video generation
0 commit comments