Create Image
Generate a new image using a template and provided modifications.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_IMAGE])
Create Video
Create a video using a template and specified modifications.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_VIDEO])
Modify Image
Update an existing image with new modifications.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.MODIFY_IMAGE])
Get Image
Retrieve details and URL of a previously created image.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GET_IMAGE])
Get Video
Fetch details and URL of a previously created video.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GET_VIDEO])
List Templates
Retrieve a list of available templates for image or video creation.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.LIST_TEMPLATES])
Get Template
Fetch details of a specific template by its ID.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GET_TEMPLATE])
Create Collection
Create a new collection to group related images or videos.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_COLLECTION])
Add To Collection
Add an existing image or video to a specified collection.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ADD_TO_COLLECTION])
Remove From Collection
Remove an item from a specified collection.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.REMOVE_FROM_COLLECTION])
List Collections
Retrieve a list of all collections in the account.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.LIST_COLLECTIONS])
Get Collection
Fetch details of a specific collection by its ID.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GET_COLLECTION])
Delete Collection
Remove a collection and optionally its contents.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_COLLECTION])
Create Animation
Generate an animated GIF or video using a template and modifications.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_ANIMATION])
Get Animation
Retrieve details and URL of a previously created animation.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GET_ANIMATION])
Create Bulk Images
Generate multiple images in a single API call using different data sets.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_BULK_IMAGES])
Create Screenshot
Capture a screenshot of a specified URL.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_SCREENSHOT])
Get Account Usage
Retrieve usage statistics for the account.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.GET_ACCOUNT_USAGE])
Create Template
Create a new custom template for future use.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_TEMPLATE])
Update Template
Modify an existing template with new settings or layers.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.UPDATE_TEMPLATE])
Delete Template
Remove a custom template from the account.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.DELETE_TEMPLATE])
Create Signed URL
Generate a signed URL for secure, time-limited access to an image or video.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.CREATE_SIGNED_URL])
Image Created
Triggered when a new image is successfully generated.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.IMAGE_CREATED])
Video Created
Triggered when a new video is successfully created.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.VIDEO_CREATED])
Animation Created
Triggered when a new animation (GIF or video) is generated.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.ANIMATION_CREATED])
Template Created
Triggered when a new custom template is created in the account.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.TEMPLATE_CREATED])
Collection Created
Triggered when a new collection is created.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.COLLECTION_CREATED])
Usage Limit Reached
Triggered when the account reaches a specified usage limit.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.USAGE_LIMIT_REACHED])
Bulk Creation Completed
Triggered when a bulk image creation job is finished.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.BULK_CREATION_COMPLETED])
Screenshot Captured
Triggered when a requested screenshot is successfully captured.
from composio_llamaindex import ComposioToolSet, Action
tool_set = ComposioToolSet()
tools = tool_set.get_tools(actions=[Action.SCREENSHOT_CAPTURED])