abacusai.media_artifact
Classes
Media Artifact |
Module Contents
- class abacusai.media_artifact.MediaArtifact(client, mediaArtifactId=None, mediaType=None, info=None, sourceDeploymentConversationId=None, isFavorited=None, isShared=None, publicUrl=None, thumbnailUrl=None, mediaUrl=None, createdAt=None, updatedAt=None)
Bases:
abacusai.return_class.AbstractApiClassMedia Artifact
- Parameters:
client (ApiClient) – An authenticated API Client instance
mediaArtifactId (id) – The ID of the media artifact
mediaType (str) – The type of media (IMAGE, VIDEO, AUDIO)
info (dict) – Metadata (width, height, mime_type, file_size_bytes, generation_model, generation_prompt, generation_params, duration_seconds)
sourceDeploymentConversationId (id) – The source conversation ID
isFavorited (bool) – Whether the artifact is favorited
isShared (bool) – Whether the artifact is shared publicly
publicUrl (str) – The permanent public URL (set after sharing)
thumbnailUrl (str) – Signed thumbnail URL (generated at read time)
mediaUrl (str) – Signed full media URL (generated at read time)
createdAt (str) – The creation timestamp
updatedAt (str) – The last update timestamp
- media_artifact_id = None
- media_type = None
- info = None
- source_deployment_conversation_id = None
- is_favorited = None
- public_url = None
- thumbnail_url = None
- media_url = None
- created_at = None
- updated_at = None
- deprecated_keys
- __repr__()