mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-06 16:24:17 +00:00
feat(agent): add built-in image and video generation tools and settings (#382)
* feat(agent): add built-in image and video generation tools and settings * fix(settings): refine media generation layout and expose media tools in agent and quota forms * feat(media-generation): add alibaba, bytedance, minimax, prodia, and azure providers * feat(agent): support s3 key references for media generation and s3KeyOnly in read_asset
This commit is contained in:
@@ -529,6 +529,10 @@
|
||||
"agent_tool_create_file_desc": "Allows the agent to create files in Shumai, either by uploading a local file or by providing the file name and content directly.",
|
||||
"agent_tool_create_version_name": "Create Version",
|
||||
"agent_tool_create_version_desc": "Allows the agent to upload and stack a new version of an existing file in Shumai.",
|
||||
"agent_tool_generate_image_name": "Generate Image",
|
||||
"agent_tool_generate_image_desc": "Allows the agent to generate images from prompts and reference images using configured AI image models.",
|
||||
"agent_tool_generate_video_name": "Generate Video",
|
||||
"agent_tool_generate_video_desc": "Allows the agent to generate videos from text, images, or frame sequences using configured AI video models.",
|
||||
"enabled": "Enabled",
|
||||
"disabled": "Disabled",
|
||||
"no_skills_available": "No skills available.",
|
||||
@@ -1361,5 +1365,44 @@
|
||||
"delete_session": "Delete Session",
|
||||
"thinking_status": "Thinking...",
|
||||
"contains_drawing_annotations": "Contains drawing annotations",
|
||||
"page_prefix": "Page {page}"
|
||||
"page_prefix": "Page {page}",
|
||||
"image_video_generation": "Image / Video Generation",
|
||||
"media_generation_settings_description": "Configure providers and enabled models for built-in image and video generation tools.",
|
||||
"media_providers": "Media Providers",
|
||||
"media_providers_description": "Configure API keys for built-in media generation providers. Providers can use environment variables or custom keys.",
|
||||
"enabled_media_models": "Enabled Models",
|
||||
"enabled_media_models_description": "Models enabled for the generate_image and generate_video tools. The first model of each type serves as default.",
|
||||
"add_media_model": "Add Model",
|
||||
"configure_api_key": "Configure API Key",
|
||||
"edit_api_key": "Edit API Key",
|
||||
"api_key_or_env_var": "API Key or Environment Variable",
|
||||
"api_key_or_env_var_placeholder": "Leave empty to use default env var ({envKey})",
|
||||
"api_key_or_env_var_hint": "Enter an API key or an environment variable name (e.g. {envKey}). Leave empty to restore default environment variable.",
|
||||
"provider_status_configured_custom": "Configured (Custom)",
|
||||
"provider_status_configured_env": "Configured (Environment)",
|
||||
"provider_status_not_configured": "Not Configured",
|
||||
"supported_types": "Supported",
|
||||
"model_type": "Model Type",
|
||||
"media_type_image": "Image",
|
||||
"media_type_video": "Video",
|
||||
"select_provider": "Select Provider",
|
||||
"select_model": "Select Model",
|
||||
"custom_model_id": "Custom Model ID",
|
||||
"enter_custom_model_id": "Enter custom model ID",
|
||||
"model_display_name": "Display Name (Optional)",
|
||||
"model_display_name_placeholder": "Friendly name for this model",
|
||||
"custom_model_option": "Custom Model...",
|
||||
"no_enabled_models": "No media generation models enabled yet. Add at least one image or video model to enable the generation tools.",
|
||||
"api_key_saved_successfully": "API key updated successfully",
|
||||
"failed_to_save_api_key": "Failed to update API key",
|
||||
"model_added_successfully": "Model added successfully",
|
||||
"failed_to_add_model": "Failed to add model",
|
||||
"model_removed_successfully": "Model removed successfully",
|
||||
"failed_to_remove_model": "Failed to remove model",
|
||||
"remove_model_confirm": "Are you sure you want to remove this model?",
|
||||
"model_requires_api_key_warning": "This provider is not configured. Tools using this model will not be available until an API key is configured.",
|
||||
"add_media_model_desc": "Select the media generation type, provider, and model to enable.",
|
||||
"loading_models": "Loading models...",
|
||||
"remove_model_prompt": "Remove model {modelId} ({provider}) from enabled models?",
|
||||
"remove_key": "Remove Key"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user