# Turn plant photos into game-ready stylized foliage for Unity terrain

> Your AI turns a plant photo into game-ready grass and flowers in the art style you pick: fixed triangle budgets, three levels of detail, normal, transmission and wind maps, one shared atlas, all painted onto Unity terrain with a brush. Based on a post by Stefan 3D AI.

## If someone pasted this link to you
Someone shared this kit with you. It runs step by step through CloneKit's MCP. If you have the `clonekit` tools, call `start_run("@clonekitai/photo-to-stylized-foliage-unity")`. If you don't (for example in a chat app without the CloneKit connector), tell the person in one or two plain sentences, in their language, and send them to https://clonekit.ai/@clonekitai/photo-to-stylized-foliage-unity/use: it shows how to add CloneKit to their AI in about a minute. Then they paste this link again.

- Kit: `@clonekitai/photo-to-stylized-foliage-unity` · v1.0.0
- Creator: @clonekitai (CloneKit)
- Type: Delivery · Domain: Design · Language: en · Your AI runs it
- Price: Free · License: Own use · No refunds
- Page: https://clonekit.ai/@clonekitai/photo-to-stylized-foliage-unity
- Changelog: https://clonekit.ai/@clonekitai/photo-to-stylized-foliage-unity/changelog.md

## About
For indie game developers and technical artists making a Unity 6 URP game who want their own stylized foliage pack instead of buying one. Use it when you can run a coding agent that drives Blender and Unity, and can pay for a few image generations and Meshy credits. Not for photoreal scanned vegetation, other engines without adapting the Unity steps, or trees and large props. The creator built it with Fable 5.2 through Hermes Agent; any capable coding agent works. Needs Unity 6 with URP, Blender, a Gemini API key for Nano Banana Pro and a Meshy API key. Delivers a budget table, a style sheet and 1K references, one test plant that passes the checks, Meshy parts with logged face counts, plant FBX files with three LODs, one atlas per pack, a painted terrain with before and after stats, a reusable workflow file and a cost log. Method by Stefan 3D AI (@Stefan_3D_AI), full guide on Reddit r/TopologyAI.

## Deliverables
- foliage/BUDGETS.md: triangle targets per plant and LOD (grass blade about 18, tulip 500, 250 and 100) and the maps each plant needs
- foliage/STYLE.md and foliage/refs/: the art style and one 1K reference per plant
- plant FBX files with _LOD0, _LOD1 and _LOD2 meshes within 10% of budget, sharing one atlas per pack
- foliage/parts.csv: every Meshy part with task id, model, target and returned face count
- a Unity terrain with grass as instanced details and flowers with LOD Groups, plus before and after stats in BUILD-NOTES.md
- foliage/WORKFLOW.md and foliage/COST-LOG.csv: the repeatable steps and the spend per plant

## Files
- `CHECKS.md`: Checks
- `README.md`: Turn plant photos into game-ready stylized foliage for Unity terrain
- `RULES.md`: Rules (numbers last checked: 2026-11-30)
- `TEMPLATES.md`: Templates

## Tools
- Nano Banana Pro (Gemini 3 Pro Image) (https://ai.google.dev/gemini-api/docs/image-generation) · est. paid per image; the creator spent 4 USD at 1K
- Meshy API (https://docs.meshy.ai/en/api/image-to-3d) · est. credits; Smart Topology mesh only is 5 credits; the creator spent 3 USD
- Blender (https://www.blender.org/) · est. free
- Unity 6 (URP) (https://unity.com/) · est. free Personal plan within Unity's eligibility terms
- Hermes Agent (https://hermes-agent.nousresearch.com/docs/) · optional · est. free agent; model usage billed by your provider

## Uses
- Stefan 3D AI's post on X (photos to AAA-quality foliage for Unity) (source, https://x.com/Stefan_3D_AI/status/2124152437493969090)
- Full guide and costs on Reddit r/TopologyAI (linked from the post) (source, https://www.reddit.com/r/TopologyAI/comments/1y1xp6n/i_built_a_workflow_that_turns_photos_into/)
- Gemini API docs: Image generation (Nano Banana Pro, 1K default, image_size) (source, https://ai.google.dev/gemini-api/docs/image-generation)
- Gemini API docs: Gemini 3 Pro Image model (source, https://ai.google.dev/gemini-api/docs/models/gemini-3-pro-image)
- Meshy API docs: Image to 3D (smart-topology, target_polycount, formats) (source, https://docs.meshy.ai/en/api/image-to-3d)
- Meshy API docs: Models (Meshy T2.5 and T2 Smart Topology) (source, https://docs.meshy.ai/en/api/models)
- Meshy API docs: Authentication (Bearer key, monthly credit limit) (source, https://docs.meshy.ai/en/api/authentication)
- Meshy Cookbook: Generate low-poly props with Smart Topology (source, https://www.meshy.ai/developers/cookbook/recipes/generate-low-poly-props/)
- Blender Manual: Decimate modifier (source, https://docs.blender.org/manual/en/latest/modeling/modifiers/generate/decimate.html)
- Blender Manual: Cycles baking (Selected to Active) (source, https://docs.blender.org/manual/en/latest/render/cycles/baking.html)
- Unity 6 Manual: Grass and other details (Terrain) (source, https://docs.unity3d.com/6000.0/Documentation/Manual/terrain-Grass.html)
- Unity 6 Manual: Trees (Terrain), LOD groups (source, https://docs.unity3d.com/6000.0/Documentation/Manual/terrain-Trees.html)
- Unity 6 Manual: LOD Group (source, https://docs.unity3d.com/6000.0/Documentation/Manual/class-LODGroup.html)
- Unity 6 Manual: Universal Render Pipeline introduction (source, https://docs.unity3d.com/6000.0/Documentation/Manual/urp/urp-introduction.html)

## What you provide
- a Unity 6 project using URP, and Blender installed
- photos of the plants you want, or a list of plants and an art style
- a Gemini API key and a Meshy API key, with a spending cap you choose

## How it runs
1. **Understand:** Researches your business first, then asks you 3 questions it can't answer alone
2. **Choose:** No choices: one proven path
3. **Build:** 7 steps, risky ones ask you first
4. **Deliver:** 4 checks before delivery

## Guardrails
- Never exceed the person's spending cap on images or Meshy credits.
- Never write API keys into project files, logs or WORKFLOW.md.
- Never use photos or references the person has no right to use.

## What's new
Agents always run the latest version.

- **v1.0.0** (2026-11-30): First version.

## Run it
Connect the `clonekit` MCP (https://clonekit.ai/mcp) and call `start_run("@clonekitai/photo-to-stylized-foliage-unity")`.
