Metadata-Version: 2.4
Name: guiji-mcp
Version: 0.0.7
Summary: create meta human by guiji api.
Author-email: weichi <weichi@guiji.ai>
License: MIT License
        
        Copyright (c) [year] [fullname]
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
Keywords: guiji,mcp,create-meta
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: mcp>=1.6.0
Requires-Dist: aiohttp>=3.11.16
Requires-Dist: fastapi==0.109.2
Requires-Dist: python-dotenv~=1.0.1
Requires-Dist: httpx==0.28.1
Provides-Extra: dev
Requires-Dist: pre-commit==3.6.2; extra == "dev"
Requires-Dist: fastmcp==0.4.1; extra == "dev"
Requires-Dist: pytest==8.0.0; extra == "dev"
Requires-Dist: pytest-cov==4.1.0; extra == "dev"
Requires-Dist: build>=1.0.3; extra == "dev"
Dynamic: license-file

# GJMeta

A digital human generation service based on FastMCP.

## Installation

```bash
pip install gj_meta_mcp
```

## Configuration

The service can be configured either through environment variables or a config file:

### Environment Variables

```bash
export APP_ID=your_app_id
export SECRET_KEY=your_secret_key
export AUTHORIZE_URL=your_authorize_url
export AUTHORIZE_TEXT=your_authorize_text
```

### Config File

Create a `config.py` file with the following content:

```python
app_id = "your_app_id"
secret_key = "your_secret_key"
authorize_url = "your_authorize_url"
authorize_text = "your_authorize_text"
```

## Usage

```python
from gj_meta_mcp import create_meta_human

# Create a digital human video
result = await create_meta_human(
    video_url="https://example.com/video.mp4",
    audio_url="https://example.com/audio.wav"
)
```

## Features

- Create digital human videos from existing video and audio
- Support for MP4 video format
- Support for WAV audio format
- Environment variable and config file support
- Logging and error handling

## License

MIT License
