{ "version": "1.0", "inputs": { "images": { "type": "STRING_ARRAY" } }, "outputs": { "images": "$s5.files" }, "order": ["s1", "s2", "s3", "s4","s5"], "s1": { "type": "file_download", "resources": "", "inputs": { "files": "$inputs.images" }, "outputs": { "files": { "type": "STRING_ARRAY" } } }, "s2": { "type": "base64_encode", "resources": "", "inputs": { "files": "$s1.files" }, "outputs": { "files": { "type": "STRING_ARRAY" } } }, "s3": { "type": "nano_banana", "resources": "", "inputs": { "contents": [{ "parts": [{ "text": "Strictly preserve all facial features, skin tone, hairstyle and facial contours of the woman in Reference Image 1, generate a Y2K millennial sweet and cool angel birthday portrait; makeup with sweet and morbid sickly aesthetic, clear base makeup with freckles, blue-gray shimmery eye makeup, red-toned blush under eyes, matte nude pink lip makeup, a beauty mark on the nose, overall sweet and cool with personality; the character wears a pink cropped camisole with black low-rise pants, a printed shirt tied around the waist, white feather angel wings on the back, a pink birthday hat (red bow + white birthday letter decorations) on the head, holding a cherry cream birthday cake with a candle in both hands, accessorized with layered necklaces, silver bracelets and rings; the background is a retro dark room with American-style posters pasted on the walls, paired with black and pink balloons, Hello Kitty merchandise and retro clutter, the light is dark pink-purple neon light, with strong retro film grain, slight vignetting and soft focus, high-saturation retro colors, high-definition and delicate image quality, creating a rebellious atmosphere of Y2K millennial sweet and cool style and angel birthday party, emotions sweet, morbid and charming." }, { "inline_data": { "mime_type": "image/jpeg", "data": "$s2.files[0]" } }] }] }, "outputs": { "images": { "type": "STRING_ARRAY" } } }, "s4": { "type": "base64_decode", "resources": "", "inputs": { "files": "[ $s3.images[0] ]" }, "outputs": { "files": { "type": "STRING_ARRAY" } } }, "s5": { "type": "file_upload", "inputs": { "files": "$s4.files", "provider": "aliyun", "prefix": "0000", "date_folder": "yyyy-MM-dd" }, "outputs": { "files": { "type": "STRING_ARRAY" } } } }