Add Image Generation from Prompts: Implement new functionality to generate images from prompts, including backend processing, API integration, and frontend handling with progress modal. Update settings and registry for new AI function.

This commit is contained in:
IGNY8 VPS (Salman)
2025-11-11 20:49:11 +00:00
parent 5f11da03e4
commit 5638ea78df
11 changed files with 1511 additions and 129 deletions

View File

@@ -40,6 +40,12 @@ MODEL_CONFIG = {
"temperature": 0.7,
"response_format": {"type": "json_object"},
},
"generate_images_from_prompts": {
"model": "dall-e-3", # Default, overridden by IntegrationSettings
"max_tokens": None, # Not used for images
"temperature": None, # Not used for images
"response_format": None, # Not used for images
},
}
# Function name aliases (for backward compatibility)