Utils for text2video generation models
Project description
Official text2video package
This is the official github repo of pypi package text2video (https://pypi.org/project/text2video/). This repo is intended to provide common interface to help develop text2video related Vision-Language Models and related deployed APIs. There are also many brilliant AI apps released such as Runway AI, Pika AI, Kling AI, etc. Right now it has just started from scratch and you are very welcome to contact us if you would like to commit to this repo and facilitate the community.
pip install text2video
An example of Calling arxiv.org to Fetch Latest "Text To Video" Related Papers
import text2video as t2v
input_dict = {"text": "Text to Video"}
res = t2v.api(input_dict, model=None, api_name="ArxivPaperAPI", start=0, max_results = 3)
paper_list = json.loads(res["text"])
print ("###### Text to Image Recent Paper List:")
for (i, paper_json) in enumerate(paper_list):
print ("### PAPER %d" % (i+1))
print (paper_json)
Common Interface of Text to Video Application
class YouText2VideoAPI(BaseAPI):
"""docstring for ClassName"""
def __init__(self, configs):
super(YouText2VideoAPI, self).__init__(configs)
self.name = "xxxxx"
def api(self, input_dict, model, kwargs):
"""
Args:
input_dict: dict, multi-modal input text, image, audio and video
model: huggingface model of tf or pytoch
kwargs: key-value args
Return:
res_dict: dict, multi-modal text text, image, audio and video
"""
res_dict={}
try:
input_text = input_dict["text"] # str
input_image = input_dict["image"] # image path
input_audio = input_dict["audio"] # audio path
input_video = input_dict["video"] # video path
res_dict["text"] = None
res_dict["image"] = None
res_dict["audio"] = None
res_dict["video"] = None
except Exception as e:
print (e)
return res_dict
AI Services Reviews and Ratings
Chatbot
OpenAI o1 Reviews
ChatGPT User Reviews
Gemini User Reviews
Perplexity User Reviews
Claude User Reviews
Qwen AI Reviews
Doubao Reviews
ChatGPT Strawberry
Zhipu AI Reviews
AI Image Generation
Midjourney User Reviews
Stable Diffusion User Reviews
Runway User Reviews
GPT-5 Forecast
Flux AI Reviews
Canva User Reviews
AI Video Generation
Luma AI
Pika AI Reviews
Runway AI Reviews
Kling AI Reviews
Dreamina AI Reviews
AI Education
Coursera Reviews
Udacity Reviews
Grammarly Reviews
Robotics
Tesla Cybercab Robotaxi
Tesla Optimus
Figure AI
Unitree Robotics Reviews
Waymo User Reviews
ANYbotics Reviews
Boston Dynamics
AI Tools
AI Widgets
Apple Glasses
Meta Glasses
Apple AR VR Headset
Google Glass
Meta VR Headset
Google AR VR Headsets
Social
Self-Driving
BYD Seal
Tesla Model 3
BMW i4
Baidu Apollo Reviews
Hyundai IONIQ 6
Related Blogs
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file text2video-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: text2video-0.0.3-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73bc5fefe9b615aa0725a88f626000ba9942aef9fa4f40fa500621f1c6725287 |
|
MD5 | fb0b2e61c7ba53607c8e74e2aa0fe3e7 |
|
BLAKE2b-256 | 58c536faefb45604991961b7fbe8710dceb6e9beb7ab731d2ee0fc41bbc2d882 |