metaai-sdk 2.3.5__tar.gz → 2.3.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- metaai_sdk-2.3.6/Dockerfile +25 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/PKG-INFO +1 -1
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/src/metaai_api/main.py +1 -1
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/src/metaai_api/video_generation.py +1 -1
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/src/metaai_sdk.egg-info/PKG-INFO +1 -1
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/src/metaai_sdk.egg-info/SOURCES.txt +1 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/.env.example +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/CHANGELOG.md +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/CONTRIBUTING.md +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/ChatGPT Image Jan 14, 2026, 06_59_02 PM.png +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/DEPLOYMENT_FIX.md +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/IMAGE_UPLOAD_README.md +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/IMPLEMENTATION_SUMMARY.md +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/LICENSE +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/MANIFEST.in +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/QUICK_REFERENCE.md +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/QUICK_USAGE.md +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/README.md +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/SECURITY.md +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/VIDEO_GENERATION_README.md +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/analyze_debug_responses.py +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/debug_async_video_test.py +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/download.jpg +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/enable_debug_logging.py +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/examples/complete_workflow_example.py +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/examples/image_upload_example.py +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/examples/image_workflow_complete.py +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/examples/practical_use_cases.py +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/examples/simple_example.py +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/examples/test_example.py +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/examples/video_generation.py +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/final_comprehensive_test.py +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/meta_ai_debug.log +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/pyproject.toml +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/quick_video_test.py +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/requirements.txt +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/setup.cfg +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/src/metaai_api/__init__.py +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/src/metaai_api/api_server.py +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/src/metaai_api/client.py +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/src/metaai_api/exceptions.py +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/src/metaai_api/image_upload.py +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/src/metaai_api/utils.py +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/src/metaai_sdk.egg-info/dependency_links.txt +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/src/metaai_sdk.egg-info/requires.txt +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/src/metaai_sdk.egg-info/top_level.txt +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/test_endpoints.py +0 -0
- {metaai_sdk-2.3.5 → metaai_sdk-2.3.6}/test_image_upload.py +0 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Base Python image
|
|
2
|
+
FROM python:3.11-slim
|
|
3
|
+
|
|
4
|
+
# Don’t write .pyc files & keep logs unbuffered
|
|
5
|
+
ENV PYTHONDONTWRITEBYTECODE=1 \
|
|
6
|
+
PYTHONUNBUFFERED=1
|
|
7
|
+
|
|
8
|
+
# Set work directory
|
|
9
|
+
WORKDIR /app
|
|
10
|
+
|
|
11
|
+
# Install deps
|
|
12
|
+
COPY requirements.txt .
|
|
13
|
+
|
|
14
|
+
RUN pip install --upgrade pip && \
|
|
15
|
+
pip install --no-cache-dir -r requirements.txt && \
|
|
16
|
+
pip install --no-cache-dir metaai-sdk
|
|
17
|
+
|
|
18
|
+
# Copy app code
|
|
19
|
+
COPY . .
|
|
20
|
+
|
|
21
|
+
# Tell container what port will be used
|
|
22
|
+
EXPOSE 8000
|
|
23
|
+
|
|
24
|
+
# Launch Uvicorn binding to 0.0.0.0 on port 8000
|
|
25
|
+
CMD ["uvicorn", "metaai_api.api_server:app", "--host", "0.0.0.0", "--port", "8000"]
|
|
@@ -239,7 +239,7 @@ class MetaAI:
|
|
|
239
239
|
"promptType": None,
|
|
240
240
|
"artifactRewriteOptions": None,
|
|
241
241
|
"imagineOperationRequest": None,
|
|
242
|
-
"imagineClientOptions": {"orientation": orientation.upper() if orientation else "VERTICAL"},
|
|
242
|
+
"imagineClientOptions": {"orientation": str(orientation).upper() if orientation else "VERTICAL"},
|
|
243
243
|
"spaceId": None,
|
|
244
244
|
"sparkSnapshotId": None,
|
|
245
245
|
"topicPageId": None,
|
|
@@ -236,7 +236,7 @@ class VideoGenerator:
|
|
|
236
236
|
"promptType": None,
|
|
237
237
|
"artifactRewriteOptions": None,
|
|
238
238
|
"imagineOperationRequest": None,
|
|
239
|
-
"imagineClientOptions": {"orientation": orientation.upper() if orientation else "VERTICAL"},
|
|
239
|
+
"imagineClientOptions": {"orientation": str(orientation).upper() if orientation else "VERTICAL"},
|
|
240
240
|
"spaceId": None,
|
|
241
241
|
"sparkSnapshotId": None,
|
|
242
242
|
"topicPageId": None,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|