Your Name e9ceedb3bf feat: 添加图片变清晰功能
- 创建 /api/enhance 路由,实现图片变清晰API集成
- 在图片标注组件中添加变清晰按钮(Sparkles图标)
- 在相册页面添加变清晰按钮
- 系统设置:将抠图设置改名为本地AI设置,添加变清晰API配置
- 支持同步和异步两种模式
- 自动上传到S3存储桶并保存到数据库
- 在相册和出图记录中显示处理后的图片
2025-12-29 00:33:12 +08:00

42 lines
6.1 KiB
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--
-- PostgreSQL database dump
--
\restrict yo9d1gVMUGQpG6orsdd0cTI4j7PaQyvMaLpgxrvYvJ1GZKQTsBgm6jf79eMvpz3
-- Dumped from database version 16.11 (Ubuntu 16.11-0ubuntu0.24.04.1)
-- Dumped by pg_dump version 16.11 (Ubuntu 16.11-0ubuntu0.24.04.1)
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;
--
-- Data for Name: AiModel; Type: TABLE DATA; Schema: public; Owner: ai_chatbot_user
--
INSERT INTO public."AiModel" VALUES ('ffb5bc96-75f5-4fe4-a99f-608864b795bc', '8a968383-f506-4452-9422-b34726505430', 'volcano-video-master', 'VIDEO「视频模型」', '支持文生视频、图生视频等多种模式,自动选择最佳模型', true, false, true, false, 0, '2025-12-09 18:30:53.653026', '2025-12-09 18:30:53.653026', '{"supportSeed": true, "durationRange": {"max": 12, "min": 2}, "supportedModes": ["text-to-video", "first-frame", "first-last-frame", "reference-images"], "supportedRatios": ["16:9", "4:3", "1:1", "3:4", "9:16", "21:9", "adaptive"], "supportWatermark": true, "maxReferenceImages": 4, "supportCameraFixed": true, "supportedResolutions": ["480p", "720p", "1080p"], "supportReturnLastFrame": true}', '{"ratio": "16:9", "duration": 5, "watermark": true, "resolution": "720p", "cameraFixed": false}', false, NULL, NULL, NULL);
INSERT INTO public."AiModel" VALUES ('3dc9c26e-7410-40d6-b6d3-2fa4fec9d396', '8a968383-f506-4452-9422-b34726505430', 'doubao-seedance-1-0-pro-250528', 'SeedancePro', '全功能专业版,支持文生视频、图生视频(首帧/首尾帧),最高支持1080p', true, false, true, false, 10, '2025-12-09 18:30:53.665138', '2025-12-09 18:30:53.665138', '{"supportSeed": true, "durationRange": {"max": 12, "min": 2}, "supportedModes": ["text-to-video", "first-frame", "first-last-frame"], "supportedRatios": ["16:9", "4:3", "1:1", "3:4", "9:16", "21:9"], "supportWatermark": true, "supportCameraFixed": true, "supportedResolutions": ["480p", "720p", "1080p"], "supportReturnLastFrame": true}', '{"ratio": "16:9", "duration": 5, "watermark": true, "resolution": "720p", "cameraFixed": false}', true, 'ffb5bc96-75f5-4fe4-a99f-608864b795bc', NULL, NULL);
INSERT INTO public."AiModel" VALUES ('4fe34457-a3eb-4563-afbe-9fd093251426', '8a968383-f506-4452-9422-b34726505430', 'doubao-seedance-1-0-pro-fast-251015', 'SeedanceProFast', '快速生成版本,支持文生视频、图生视频(首帧),生成速度更快', true, false, true, false, 20, '2025-12-09 18:30:53.683021', '2025-12-09 18:30:53.683021', '{"supportSeed": false, "durationRange": {"max": 12, "min": 2}, "supportedModes": ["text-to-video", "first-frame"], "supportedRatios": ["16:9", "4:3", "1:1", "3:4", "9:16", "21:9"], "supportWatermark": true, "supportCameraFixed": false, "supportedResolutions": ["480p", "720p", "1080p"], "supportReturnLastFrame": true}', '{"ratio": "16:9", "duration": 5, "watermark": true, "resolution": "720p", "cameraFixed": false}', true, 'ffb5bc96-75f5-4fe4-a99f-608864b795bc', NULL, NULL);
INSERT INTO public."AiModel" VALUES ('e8805ca6-4741-4eda-b800-b2c0d513299f', '8a968383-f506-4452-9422-b34726505430', 'doubao-seedance-1-0-lite-i2v-250428', 'SeedanceLiteI2V', '图生视频轻量版,支持首帧、首尾帧、参考图(1-4张)模式', true, false, true, false, 30, '2025-12-09 18:30:53.689929', '2025-12-09 18:30:53.689929', '{"supportSeed": true, "durationRange": {"max": 12, "min": 2}, "supportedModes": ["first-frame", "first-last-frame", "reference-images"], "supportedRatios": ["16:9", "4:3", "1:1", "3:4", "9:16", "21:9", "adaptive"], "supportWatermark": true, "maxReferenceImages": 4, "supportCameraFixed": true, "supportedResolutions": ["480p", "720p"], "supportReturnLastFrame": false}', '{"ratio": "16:9", "duration": 5, "watermark": true, "resolution": "720p", "cameraFixed": false}', true, 'ffb5bc96-75f5-4fe4-a99f-608864b795bc', NULL, NULL);
INSERT INTO public."AiModel" VALUES ('b5b6f9fd-4299-4345-af51-79354bd504eb', '8a968383-f506-4452-9422-b34726505430', 'doubao-seedance-1-0-lite-t2v-250428', 'SeedanceLiteT2V', '文生视频轻量版,专注于文本转视频,成本更低', false, false, true, false, 40, '2025-12-09 18:30:53.695034', '2025-12-09 18:30:53.695034', '{"supportSeed": true, "durationRange": {"max": 12, "min": 2}, "supportedModes": ["text-to-video"], "supportedRatios": ["16:9", "4:3", "1:1", "3:4", "9:16", "21:9"], "supportWatermark": true, "supportCameraFixed": true, "supportedResolutions": ["480p", "720p", "1080p"], "supportReturnLastFrame": false}', '{"ratio": "16:9", "duration": 5, "watermark": true, "resolution": "720p", "cameraFixed": false}', true, 'ffb5bc96-75f5-4fe4-a99f-608864b795bc', NULL, NULL);
INSERT INTO public."AiModel" VALUES ('27420787-1851-4cd2-bb53-162592bd345e', '7bce5924-bfd2-4e31-9f1d-825bd9d9f8b1', 'qwen3-vl-plus', '千问3「对话模型」', '', false, false, true, true, 0, '2025-12-05 16:34:19.456083', '2025-12-08 10:56:20.592', NULL, NULL, false, NULL, NULL, NULL);
INSERT INTO public."AiModel" VALUES ('1b652fc6-02a7-4a78-b7e4-3406232a47f6', '259d8c41-8f93-4ee6-bd3d-5ad4301123e3', 'gpt-5-nano', 'GTP-5「对话模型」', '', false, false, true, false, 0, '2025-12-08 18:50:38.600951', '2025-12-08 10:56:57.283', NULL, NULL, false, NULL, NULL, NULL);
INSERT INTO public."AiModel" VALUES ('138a63c0-f990-406c-a5d2-6b4f6d522120', 'ee9d756b-1ff5-436c-b1c9-466d8c0ba730', 'doubao-seedream-4-5-251128', '既梦4.5「生图模型」', '', false, true, true, false, 0, '2025-12-08 17:49:54.015232', '2025-12-08 10:56:40.026', NULL, NULL, false, NULL, NULL, NULL);
INSERT INTO public."AiModel" VALUES ('6ed69d9f-db86-4012-a1e6-126420aca9e4', 'adb28b37-f7e1-44e6-832a-66eedc6aa764', 'nano-banana-pro', '香蕉PRO「生图模型」', '', true, true, true, false, 0, '2025-12-06 20:29:09.746812', '2025-12-19 07:12:59.737', NULL, NULL, false, NULL, 'nano-banana-pro-vt', 'nano-banana-fast');
--
-- PostgreSQL database dump complete
--
\unrestrict yo9d1gVMUGQpG6orsdd0cTI4j7PaQyvMaLpgxrvYvJ1GZKQTsBgm6jf79eMvpz3