import requests prompt = """ You are an AI builder assistant. Your task is to generate a 3D Minecraft structure layout for a "wizard tower" using only the blocks listed below. The layout must be provided in strict JSON format as: layout[y][z][x] = block_name (3D array of strings) The JSON must be minimal, symmetrical if needed, and represent a small but visually meaningful structure. Avoid empty arrays, and make sure block names match exactly. You could only use these blocks for building wizard tower, including: Animated blocks: lava, fire, end_portal, magma_block, soul_fire, bubble_column Non-animated blocks: cobblestone, mossy_cobblestone, stone_bricks, cracked_stone_bricks, deepslate, bookshelves, oak_planks, oak_log, torch, stone_slab, obsidian, glass_pane, ladder Only return a valid JSON structure named `layout`. No explanation or extra text. """ response = requests.post( "http://thongcoder-minecraft-ai-builder-backend.hf.space/generate", json={"prompt": prompt} ) print(response.status_code) print(response.json())