Tools for Building Agents with Livepeer
The Livepeer agent provides a comprehensive set of tools designed for multimedia transformation, including text-to-image, image-to-video, audio transcription, and image segmentation. These tools leverage the Livepeer AI API to generate, upscale, and analyze various forms of media content, empowering users to create innovative multimedia experiences efficiently.
text-to-image
Description: This tool generates an image based on a given text prompt using the Livepeer AI API.
Parameters:
prompt (str)
: The text prompt to guide image generation.model_id (str)
: (Optional) The ID of the model to use.
Returns: The URL of the generated image.
image-to-video
Description: This tool creates a video from an image using the Livepeer AI API.
Parameters:
image_path (str)
: Path to the image to be used for video generation.model_id (str)
: (Optional) The ID of the model to use.
Returns: The URL of the generated video.
upscale_image
Description: This tool upscales an image, enhancing its quality, using the Livepeer AI API.
Parameters:
prompt (str)
: Text prompt for upscaling.image_path (str)
: Path to the image to be upscaled.
Returns: The URL of the upscaled image.
image-to-image
Description: Transforms an image based on a text prompt using Livepeer’s image-to-image capabilities.
Parameters:
prompt (str)
: Text prompt to guide image transformation.image_path (str)
: Path to the original image.
Returns: The URL of the transformed image.
segment_anything
Description: This tool segments objects in an image using Livepeer's AI segmentation tool.
Parameters:
image_path (str)
: Path to the image to be segmented.model_id (str)
: (Optional) The ID of the model to use.
Returns: A dictionary containing the segmentation response.
audio-to-text
Description: Transcribes audio files into text using Livepeer’s AI transcription tool.
Parameters:
audio_path (str)
: Path to the audio file.model_id (str)
: (Optional) The ID of the model to use.
Returns: The transcribed text.
Last updated
Was this helpful?