Skip to content

Instantly share code, notes, and snippets.

@HideyukHira
Last active December 30, 2025 04:06
Show Gist options
  • Select an option

  • Save HideyukHira/c22a05241b99173a78f8362491c99831 to your computer and use it in GitHub Desktop.

Select an option

Save HideyukHira/c22a05241b99173a78f8362491c99831 to your computer and use it in GitHub Desktop.
nano banana java prompt
/**
* Engine: PX-LOCK-EDITORIAL v1.0
* Goal: Near-exact photorealistic recreation
*/
public class RetroEditorialScene {
public static final boolean NO_POSE_DRIFT = true;
public static final boolean ANATOMY_REALISM_REQUIRED = true;
public static final String RENDER_STYLE = "cinematic fashion editorial realism";
public void initScene() {
// 1. 被写体(Subject)の定義
Subject subject = new Subject();
subject.demographics = new Demographics("early-to-mid 20s", "Caucasian", "fair light warm");
subject.face = new Face("soft oval", "light hazel", "closed");
subject.hair = new Hair("blonde", "long waves", "cascading onto carpet");
subject.body = new Body("voluptuous hourglass") {{
measurements = new Measurements(34, 25, 38);
heightInches = 66;
anatomy = new AdvancedAnatomy(5.0, 3.0, 5.5, "pronounced S-curve");
}};
// 2. ポーズ(Pose)の定義
Pose pose = new Pose("side-lying on floor", "left side down");
pose.torso = new Rotation(20.0, "slightly toward camera");
pose.head = new Rotation(-10.0, "slightly downward");
pose.arms.left = new ArmState("bent", "forearm support on carpet", 95);
pose.arms.right = new ArmState("extended forward", "resting near CD player", 0);
pose.legs.right = new LegState("bent forward", 45);
// 3. 衣装と小道具(Wardrobe & Props)
Wardrobe wardrobe = new Wardrobe("long-sleeve high-cut bodysuit", "muted sage");
wardrobe.material = "matte stretch fabric (low reflectivity)";
wardrobe.footwear = "white ankle socks";
wardrobe.accessories = new String[]{"white wired earphones connected to CD player"};
// 4. 環境とライティング(Environment & Lighting)
Environment env = new Environment("retro bedroom", "deep blue carpet");
env.walls = new WallDetails("pastel pink", "vintage magazine collage");
env.furniture = "white canopy bed, peach armchair in background";
env.lighting = new Lighting("natural window light", 5200);
env.lighting.quality = "soft, diffused, low contrast side-lighting";
// 5. カメラ(Camera)
Camera cam = new Camera("floor level", "three-quarter front", "3:2 aspect ratio");
cam.setFocus("subject: sharp", "background: mild falloff");
executeRender(subject, pose, wardrobe, env, cam);
}
private void executeRender(Subject s, Pose p, Wardrobe w, Environment e, Camera c) {
// Final Constraints: No stylization, high-fidelity skin/fabric texture.
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment