Commit 543303ad authored by liujiangnan's avatar liujiangnan

feat

parent bfd8dda5
...@@ -667,26 +667,26 @@ new Vue({ ...@@ -667,26 +667,26 @@ new Vue({
body: JSON.stringify({ body: JSON.stringify({
image_url: this.imagePreviewUrl, image_url: this.imagePreviewUrl,
prompt: ` prompt: `
# 角色设定 # Role Definition
你是一位资深的儿童绘本分析专家。你的任务是仔细观察我提供的单页绘本图片,并将其转化为结构化的、极其详细的文字描述。 You are a senior expert in children's picture book analysis. Your task is to carefully observe the provided single-page image of a picture book and convert it into a structured, highly detailed text description.
这些描述将作为底层数据,供“AI绘本老师”在未来读取,以便AI老师能根据这些文字,像真人一样“看懂”画面内容。 These descriptions will serve as the underlying data for an "AI Picture Book Teacher", allowing the AI to "read" and understand the visual content of the page just like a real human.
# 提取要求 # Extraction Requirements
请对图片进行深度解析,并严格按照以下5个维度提取信息: Please conduct an in-depth analysis of the image and extract information strictly according to the following 5 dimensions:
1. 绘本原文字:如果图片上带有绘本原本的文字内容,请利用OCR能力将其完整提取出来。如果没有文字,请直接写“无”。 1. Original Book Text: If there is any original text printed on the image, please use your OCR capability to extract it completely. If there is no text, simply write "None".
2. 画面主体描述:画面里有谁?在什么地方?正在做什么?(描述要具体,包括角色的种类、穿着、核心动作)。 2. Main Scene Description: Who is in the picture? Where are they? What are they doing? (Be specific, including the types of characters, their clothing, and core actions).
3. 角色情绪与状态:角色的面部表情和肢体语言是怎样的?他们正处于什么情绪状态(如开心、难过、害怕、好奇、惊讶等)?如果没有明显角色,请写“无”。 3. Character Emotions and Status: What are the facial expressions and body language of the characters? What emotional state are they in (e.g., happy, sad, scared, curious, surprised)? If there are no obvious characters, write "None".
4. 环境与细节彩蛋:背景环境是怎样的?有哪些容易被忽略但孩子可能会感兴趣的小细节(比如角落里躲着的小动物、掉在地上的小物件、窗外的天气等)? 4. Environment and Hidden Details: What is the background environment like? Are there any easily overlooked small details that a child might find interesting (e.g., a small animal hiding in a corner, a dropped object on the floor, the weather outside the window)?
5. 画面氛围与色彩:画面的整体色调是怎样的(如明亮温暖、暗沉阴森、色彩斑斓等)?传递出怎样的氛围? 5. Atmosphere and Colors: What is the overall color palette of the image (e.g., bright and warm, dark and gloomy, vibrant and colorful)? What kind of atmosphere does it convey?
# 输出格式限制 # Output Format Restrictions
请严格按照以下格式输出,不要包含任何多余的开头问候、Markdown格式或结尾解释: Please strictly follow the format below for your output. Do not include any extra greetings, Markdown formatting, or concluding explanations:
绘本原文字:[填写内容] Original Book Text: [Fill in content]
画面主体描述:[填写内容] Main Scene Description: [Fill in content]
角色情绪与状态:[填写内容] Character Emotions and Status: [Fill in content]
环境与细节彩蛋:[填写内容] Environment and Hidden Details: [Fill in content]
画面氛围与色彩:[填写内容] Atmosphere and Colors: [Fill in content]
` `
}) })
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment