{"id":27946665,"url":"https://github.com/vast-ai-research/tripo-python-sdk","last_synced_at":"2026-02-26T11:12:11.489Z","repository":{"id":287128185,"uuid":"957835210","full_name":"VAST-AI-Research/tripo-python-sdk","owner":"VAST-AI-Research","description":"Official Tripo3d Python SDK","archived":false,"fork":false,"pushed_at":"2026-02-03T03:24:38.000Z","size":119,"stargazers_count":35,"open_issues_count":1,"forks_count":10,"subscribers_count":5,"default_branch":"master","last_synced_at":"2026-02-03T17:20:34.538Z","etag":null,"topics":["sdk-python","tripo"],"latest_commit_sha":null,"homepage":"https://platform.tripo3d.ai","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VAST-AI-Research.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-31T08:01:40.000Z","updated_at":"2026-02-03T03:24:42.000Z","dependencies_parsed_at":"2025-04-10T05:29:44.943Z","dependency_job_id":"52816f45-2565-4321-b589-7fa7e1b7ecb6","html_url":"https://github.com/VAST-AI-Research/tripo-python-sdk","commit_stats":null,"previous_names":["vast-ai-research/tripo-python-sdk"],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/VAST-AI-Research/tripo-python-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VAST-AI-Research%2Ftripo-python-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VAST-AI-Research%2Ftripo-python-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VAST-AI-Research%2Ftripo-python-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VAST-AI-Research%2Ftripo-python-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VAST-AI-Research","download_url":"https://codeload.github.com/VAST-AI-Research/tripo-python-sdk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VAST-AI-Research%2Ftripo-python-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29856917,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T08:51:08.701Z","status":"ssl_error","status_checked_at":"2026-02-26T08:50:19.607Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["sdk-python","tripo"],"created_at":"2025-05-07T13:56:58.326Z","updated_at":"2026-02-26T11:12:11.435Z","avatar_url":"https://github.com/VAST-AI-Research.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tripo3d Python SDK\n\nThe Tripo3d Python SDK is the official Python client library for the [Tripo 3D Generation API](https://tripo3d.ai/). With this SDK, you can easily generate high-quality 3D models.\n\n## Features\n\n- Text-to-3D model generation\n- Image-to-3D model generation\n- Multi-view to 3D model generation\n- Mesh Editing including mesh segmentation, mesh completion and smart lowpoly\n- Model conversion and stylization\n- Rigging and retarget\n- Asynchronous API support\n- Complete type hints\n- Simple and easy-to-use interface\n\n## Installation\n\n```bash\npip install tripo3d\n```\n\n## Quick Start\n\n### Initialization\n\n```python\nimport asyncio\nfrom tripo3d import TripoClient\n\nasync def main():\n    # Initialize client with API key\n    client = TripoClient(api_key=\"your_api_key\")\n\n    # Or read from environment variable\n    # export TRIPO_API_KEY=your_api_key\n    # client = TripoClient()\n\n    # Use the client\n    # ...\n\n    # Close client connection\n    await client.close()\n\n# Run async function\nasyncio.run(main())\n```\n\n### Text to 3D Model\n\n```python\nimport asyncio\nfrom tripo3d import TripoClient\n\nasync def text_to_model_example():\n    async with TripoClient() as client:\n        # Create text to 3D model task\n        task_id = await client.text_to_model(\n            prompt=\"A cute cat\",\n            negative_prompt=\"low quality, blurry\",\n        )\n\n        print(f\"Task ID: {task_id}\")\n\n        # Wait for task completion\n        task = await client.wait_for_task(task_id)\n\n        if task.status == TaskStatus.SUCCESS:\n            print(f\"Task completed successfully!\")\n\n            # Download model files\n            downloaded_files = await client.download_task_models(task, \"./output\")\n\n            # Print downloaded file paths\n            for model_type, file_path in downloaded_files.items():\n                if file_path:\n                    print(f\"Downloaded {model_type}: {file_path}\")\n\nasyncio.run(text_to_model_example())\n```\n\n### Image to 3D Model\n\n```python\nimport asyncio\nfrom tripo3d import TripoClient\n\nasync def image_to_model_example():\n    async with TripoClient() as client:\n        # Create image to 3D model task\n        task_id = await client.image_to_model(\n            image=\"path/to/your/image.jpg\",\n        )\n\n        print(f\"Task ID: {task_id}\")\n\n        # Wait for task completion and show progress\n        task = await client.wait_for_task(task_id, verbose=True)\n\n        if task.status == TaskStatus.SUCCESS:\n            print(f\"Task completed successfully!\")\n\n            # Download model files\n            downloaded_files = await client.download_task_models(task, \"./output\")\n\n            # Print downloaded file paths\n            for model_type, file_path in downloaded_files.items():\n                if file_path:\n                    print(f\"Downloaded {model_type}: {file_path}\")\n\nasyncio.run(image_to_model_example())\n```\n\n### Multi-view to 3D Model\n\n```python\nimport asyncio\nfrom tripo3d import TripoClient\n\nasync def multiview_to_model_example():\n    async with TripoClient() as client:\n        # Create multi-view to 3D model task\n        task_id = await client.multiview_to_model(\n            images=[\n                \"path/to/front.jpg\",   # Front view (required)\n                \"path/to/back.jpg\",    # Back view (optional)\n                \"path/to/left.jpg\",    # Left view (optional)\n                \"path/to/right.jpg\"    # Right view (optional)\n            ],\n        )\n\n        print(f\"Task ID: {task_id}\")\n\n        # Wait for task completion and show progress\n        task = await client.wait_for_task(task_id, verbose=True)\n\n        if task.status == TaskStatus.SUCCESS:\n            print(f\"Task completed successfully!\")\n\n            # Download model files\n            downloaded_files = await client.download_task_models(task, \"./output\")\n\n            # Print downloaded file paths\n            for model_type, file_path in downloaded_files.items():\n                if file_path:\n                    print(f\"Downloaded {model_type}: {file_path}\")\n\nasyncio.run(multiview_to_model_example())\n```\n\n### Check Account Balance\n\n```python\nimport asyncio\nfrom tripo3d import TripoClient\n\nasync def check_balance():\n    async with TripoClient() as client:\n        balance = await client.get_balance()\n        print(f\"Available balance: {balance.balance}\")\n        print(f\"Frozen amount: {balance.frozen}\")\n\nasyncio.run(check_balance())\n```\n\n## Advanced Usage\n\nFor more advanced usage examples, check out the [examples](https://github.com/VAST-AI-Research/tripo-python-sdk/tree/master/examples) directory.\n\n## API Reference\n\nThe complete API documentation can be found [here](https://github.com/VAST-AI-Research/tripo-python-sdk/blob/master/docs/API.md).\n\n## License\n\nMIT ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvast-ai-research%2Ftripo-python-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvast-ai-research%2Ftripo-python-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvast-ai-research%2Ftripo-python-sdk/lists"}