Image and Video Generation Developer Guide
Image Generation Prompting subject = "a simple slide" action = "explaining visual proof of the Pythagorean theorem" location = "white background" camera_control = "eye-level shot" lighting = "white light" style = "minimalist" keywords = [subject, action, location, camera_control, lighting, style] gemini_prompt = f""" Your task is to expand the following keywords into a single, high-fidelity, descriptive prompt for image generation. Every single keyword MUST be included. Include reference images if provided and use that image as a reference style guide for generated images. Output ONLY the final prompt string, without any introduction or explanation. Mandatory Keywords: {",".join(keywords)} """ Image Evaluation Techniques 1. SigLIP Gives us a match score bet...