endpoint
GET

/api/textures/{id}

Poll one texture and inspect seam metrics

auth: API keybase https://app.nz
Request
curl -s "https://app.nz/api/textures/{id}" \
  -H "Authorization: Bearer pk_live_..."

Verified seamless texture API

Generate repeatable materials through eBank.nz, local Z-Image, or FAL, then pass every candidate through app.nz’s wrap-boundary scorer. The agent route adds a free exact-periodic control, varies seeds, builds real 2×2 proofs, applies one bounded edge repair when needed, rejects remaining failures, and selects the strongest accepted tile. One app credit is $0.001. At 512×512, eBank candidates cost up to 48 credits each, background Z-Image costs 9, the procedural control is free, and FAL balanced tiling is estimated at 22; the response states the maximum before work starts.

Agent controls and 512×512 prices
prompt*stringMaterial or pattern brief, up to 600 characters.
provider: ebank48 credits/candidateRA1 Seamless Texture LoRA through eBank.nz. Default agent provider.
provider: zimage9 credits/candidateLocal background-priority generation; one active candidate per user.
provider: seamless-tiling~22 credits/candidateFAL Ideogram tiling at balanced 512×512 pricing.
variantsint 1-4Paid candidate count. Defaults to 3; the procedural control does not count.
includeProceduralbooleanInclude a free periodic-by-construction control. Defaults to true.
Run and poll the texture agent
# Three eBank candidates + one free procedural control: up to 144 credits ($0.144).
experiment=$(curl -sX POST https://app.nz/api/textures/agent \
  -H "Authorization: Bearer $APP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt":"weathered slate with fine moss, neutral overhead light","provider":"ebank","variants":3,"seed":4200}')

id=$(printf '%s' "$experiment" | jq -r '.experiment.id')
curl -s "https://app.nz/api/textures/agent/$id" \
  -H "Authorization: Bearer $APP_API_KEY" | jq '.experiment | {status, winner, results}'

# Same workflow through the CLI or MCP:
app texture run --prompt "weathered slate with fine moss" --provider ebank --variants 3
# MCP tools: run_texture_agent, get_texture_agent