Migrations

This commit is contained in:
Desktop
2025-11-12 05:39:45 +05:00
parent 86b5e48bae
commit 2371479636
4 changed files with 137 additions and 64 deletions

View File

@@ -843,6 +843,7 @@ Make sure each prompt is detailed enough for image generation, describing the vi
# Runware uses array payload with authentication and imageInference tasks
# Reference: image-generation.php lines 79-97
import uuid
logger.info(f"[AIProcessor.generate_image] Runware API key check: has_key={bool(api_key)}, key_length={len(api_key) if api_key else 0}, key_preview={api_key[:10] + '...' + api_key[-4:] if api_key and len(api_key) > 14 else 'N/A'}")
payload = [
{
'taskType': 'authentication',