上传一张照片是可以输出照片内容的文字说明的。以下为两种常见的实现方式:
图片预处理方式中,crop只截取图片的头部,full就是保留整张照片,下面的勾选项已经有文字解释,自己可以试几次点击generate由于涉及到视频的推理和转换,输出时间要远远大于ai绘图和sovits的声音推理,做好等待的准备。下图中,我导入了一个13秒的音频,预计需要3-5分钟(3060 12g显卡)最终生成的视频长度与音频一致,如果想制作一个长视频,最好是剪成小段,分别推理,然后合并。完成后,可以打开输出目录或者下载视频文件。看看效果带面部修复的效果:
我们这边需要对图片的内容进行描述,所以我们可以借用GPT来进行,当然大家自行描述也是可以的。这段提示词是用来分别对两张人物照片进行解析的。提示词效果展示成年图片中的人物是一位年轻的男性,年纪大约在20到30岁之间。他的头发黑亮,整齐地梳向后方,呈现出一种利落而正式的发型,发尾略有一些微卷,显得时尚而有型。他的肤色白皙,面部线条分明,五官端正。他的眉毛浓密而有形,眼睛大而有神,显得非常有精神。鼻梁高挺,鼻翼略窄,嘴唇薄而有弧度,整体面部表情略显严肃,但却不失英俊。下巴线条明显,脸部轮廓立体分明,整体给人一种非常帅气且有魅力的感觉。他穿着一套正式的黑色西装,内搭白色衬衫,并佩戴了一条黑色领结。西装的剪裁非常合身,显示出他的修长身材和优雅气质。他左手握着一只话筒,似乎正在参加某个正式场合或发表演讲。背景较为简约,以浅色为主,突出人物的主体地位,进一步增强了他正式而庄重的形象。总体来看,这位年轻男性看起来像是东亚人种,具有典型的亚洲男性特征,且散发出一种自信和专业的气质。
|功能|OpenAI Prompt|Claude Prompt|贡献者|<br>|-|-|-|-|<br>|Grammar correction |You will be provided with statements,and your task is to convert them to standard English |Your task is to take the text provided and rewrite it into a clear,grammatically correct version while preserving the original meaning as closely as possible.Correct any spelling mistakes,punctuation errors,verb tense issues,word choice problems,and other grammatical mistakes.|卡尔|<br>|Airport code extractor |You will be provided with a text,and your task is to extract the airport codes from it.|Your task is to analyze the provided text and identify any airport codes mentioned within it.Present these airport codes as a list in the order they appear in the text.If no airport codes are found,return an empty list.|卡尔|<br>|Mood to color |You will be provided with a description of a mood,and your task is to generate the CSS code for a color that matches it.Write your output in json with a single key called"css_code".|Your task is to take the provided text description of a mood or emotion and generate a HEX color code that visually represents that mood.Use color psychology principles and common associations to determine the most appropriate color for the given mood.If the text description is unclear,ambiguous,or does not provide enough information to determine a suitable color,respond with"Unable to determine a HEX color code for the given mood."|卡尔|