app.nzapp
AppsProjectsReposPullsChatIntegrationsGatewayModelsEvalsToolsDatasetsMCPDeploysPricingBlogDocsAssistantsCharactersArtMusic
Sign inStart building
Agent stack
Cloud coding agentAgents SDKIntegrationsBrowser agentMonitors & auto-agentsSchedulersAgent skillsMCP serversDeep research
Models & API
AI GatewayModel catalogModel evalsModel spacesPlaygroundText to imageImage to 3DText to 3DMusic & SFXAudio editorMedia optimizerAI art & libraryChatAPI referenceSchemaBecome a provider
Compute & hosting
DeploysAddonsPostgres hostinggobed vector searchSite hostingAnalyticsCog GPU hostingRL trainingBuilds & CIWorkersTask queuesDomainsGit hosting
Tools
AI toolsDrawDiffusion canvasLive DrawWriteSheetsArtifactsVideo studioNotebooksDatasets
Learn
DocsBlogEval guidesPrompt libraryCLIAlternativesPapersAI charactersArt gallerySecurityConsulting
Company
PricingEnterpriseSettingsBillingStatusInvestorsCreate accountTerms of ServicePrivacy Policy
app.nzapp.nz

AI agent cloud for coding, deploys, model routing, and research. Built for teams shipping software.

Built in New Zealand by App AI NZ.

Social
X / TwitterGitHubYouTube
The app.nz network
GpuBrainPapersReading TimemojojojoNetwrckText-Generator.ioCodex InfinityOpenPathsCuteDSLAI Art GeneratorAIArt-Generator.artSiteSimSimplexGenDictatorFlowWebFiddleRing.nzChatGibidyBitBankExperimentFlowEvangelerHires.nzHow.nzV5 GamesAddicting Word GamesBig Multiplayer ChessWord SmashingreWord GameMultiplication Master
© 2026 App AI NZ Ltd. All rights reserved.All systems normalTermsPrivacy
Blog
July 22, 2026·9 min read·app.nz

ComfyUI lab 9: Control Z-Image with line structure

Extract structure from a sketch and tune control strength separately from text guidance.

Listen to this article

On-device voice

Uses the voice built into your browser; no article text leaves this page.

Audio narration is not supported by this browser.

Line control divides an image problem into two channels: a structural signal says where boundaries belong, while text says what the scene should become. That separation is why sketches can survive large changes in material and lighting.

Two strengths, two jobs

Control conditioning scale governs how strongly the generated image follows extracted lines. Text guidance governs pressure toward the prompt. They are not interchangeable. Sweep control strength at a fixed seed—0.45, 0.75, 1.05—before touching guidance. Low values permit invention; high values can trace noise or flatten natural detail.

The open node prefers the CuteDSL Z-Image path when installed and can fall back to compatible Diffusers components. It requires a declared ZIMAGE_CONTROLNET_DIR; the workflow does not pretend that experimental weights appear automatically. The source image is resized to valid model dimensions and converted to line art with an explicit fallback extractor.

Prepare useful structure

Clean sketches beat photographs full of texture. Remove text, crop to the intended composition, and ensure the important silhouette has contrast. If a line is not meaningful to the design, remove it before asking the model to obey it.

Latent teleportation remains research, not a magic speed checkbox. Measure the shipped CuteDSL or Diffusers path with the exact model, steps, resolution, and GPU you use.

Run the lab

  • Open this graph in Comfy Studio
  • Download the exact API-format workflow
  • CLI: app comfy download zimage-line-control

Record the graph JSON, input assets, seed where relevant, model or service version, custom-node commit, and final artifact together. That bundle—not a screenshot—is the reproducible creative unit.

Open-source map

  • Open CuteDSL nodes — MIT accelerated Z-Image integration
  • ComfyUI ControlNet examples — Core structural-conditioning examples

Creative Systems Labs: 9 of 12. Previous: Prototype frame transforms safely Next: Restyle without losing structure

Build what you just read

Ship agents, models, and apps on one cloud.

Start with free credits, then use the same platform from the web app, CLI, desktop app, or MCP.

Start building freeRead the docs

Keep reading

ComfyUI lab 8: Prototype frame transforms safely

Understand image tensor shape, range, batch semantics, and the boundary between a prototype code block and a maintained node.

ComfyUI lab 11: Design a text-to-3D handoff

Prompt for geometry rather than beauty, generate a GLB, and inspect silhouette, topology, scale, and material assumptions.

ComfyUI lab 3: Create clean narration and reusable voices

Treat speech as structured data: text, voice, pacing, pronunciation, sample rate, and provenance.