Eve library

ISIS v2 Foliage Pack SDK End-to-End Examples

Guide

Revision 1

On this page

Generated: 2026-03-02T05:36:43.156Z Checklist: MXA-0388 (ISIS2-00586) Asset Family: foliage-pack Phase: Phase 4 | Milestone: M3 Launch (2026-07-27 to 2026-10-30)

Objective#

Expose foliage-pack workflows via @isis/client with typed SDK request contracts and end-to-end example builders covering direct runs, chained orchestration, and batch variants.

Typed Workflow Contracts#

Workflow ID Generation Type Required Parameters
foliage-pack-baseline text-to-image foliage_theme, biome_context, canopy_structure_profile, species_mix_profile, ground_cover_density_class, leaf_cluster_scale_profile, stem_branch_complexity_profile, wind_response_profile, seasonality_profile, tiling_mode, seam_blend_strategy, foliage_resolution_class, color_palette_profile, seed, width, height, steps, cfg_scale
foliage-pack-image-conditioned text-to-image style_reference_image, use_composition_reference, reference_strength, composition_strength, leaf_specular_profile, branch_bark_profile, prompt_template_id, style_profile_id, color_script, lens_profile, foliage_theme, biome_context, canopy_structure_profile, species_mix_profile, ground_cover_density_class, leaf_cluster_scale_profile, stem_branch_complexity_profile, wind_response_profile, seasonality_profile, tiling_mode, seam_blend_strategy, foliage_resolution_class, color_palette_profile, seed, width, height, steps, cfg_scale
foliage-pack-control-conditioned text-to-image use_depth_control, use_segmentation_control, use_normal_control, use_canny_control, use_lineart_control, depth_strength, segmentation_strength, normal_strength, canny_strength, lineart_strength, leaf_specular_profile, branch_bark_profile, prompt_template_id, style_profile_id, color_script, lens_profile, foliage_theme, biome_context, canopy_structure_profile, species_mix_profile, ground_cover_density_class, leaf_cluster_scale_profile, stem_branch_complexity_profile, wind_response_profile, seasonality_profile, tiling_mode, seam_blend_strategy, foliage_resolution_class, color_palette_profile, seed, width, height, steps, cfg_scale
foliage-pack-consistency-locked text-to-image continuity_profile_id, continuity_profile_revision, continuity_locked_dimensions, scene_profile_id, style_profile_id, scene_anchor_reference_image, use_scene_anchor_reference, use_canopy_layout_reference, use_density_reference, use_lens_reference, use_style_lock, leaf_specular_profile, branch_bark_profile, lod_transition_profile, focal_length_mm, color_script, lens_profile, scene_anchor_lock_strength, canopy_layout_lock_strength, density_lock_strength, lens_lock_strength, style_lock_strength, foliage_theme, biome_context, canopy_structure_profile, species_mix_profile, ground_cover_density_class, leaf_cluster_scale_profile, stem_branch_complexity_profile, wind_response_profile, seasonality_profile, tiling_mode, seam_blend_strategy, foliage_resolution_class, color_palette_profile, seed, width, height, steps, cfg_scale

SDK Surface Checks#

Category Method Present
workflow-resource runFoliagePack true
workflow-resource runFoliagePackBaseline true
workflow-resource runFoliagePackImageConditioned true
workflow-resource runFoliagePackControlConditioned true
workflow-resource runFoliagePackConsistencyLocked true
client-shortcut runFoliagePackBaseline true
client-shortcut runFoliagePackImageConditioned true
client-shortcut runFoliagePackControlConditioned true
client-shortcut runFoliagePackConsistencyLocked true
examples-module createFoliagePackEndToEndExamples true
examples-module executeFoliagePackEndToEndExamples true

Verification Commands#

  • pnpm --filter @isis/client exec vitest run src/resources/workflows.foliage-pack.spec.ts src/examples/foliage-pack.spec.ts
  • pnpm --filter @isis/client exec vitest run src/resources/workflows.route-parity.spec.ts

Acceptance Criteria#

  • SDK exposes typed run methods for baseline, image-conditioned, control-conditioned, and consistency-locked foliage-pack workflows.
  • SDK runtime validation rejects invalid generation types and malformed variant parameters before transport dispatch.
  • SDK exports end-to-end examples for direct runs plus chain and batch orchestration payloads.
  • SDK root exports and client shortcut methods expose the foliage-pack workflow surface for downstream consumers.

Traceability#

  • Checklist item: MXA-0388
  • Ticket key: ISIS2-00586
  • Source references:
    • docs/domains/isis/remediation-v2/ISIS_REMEDIATION_V2_TICKETS.json
    • docs/domains/isis/remediation-v2/ISIS_V2_FOLIAGE_PACK_REQUIREMENTS_BRIEF.json
    • docs/domains/isis/remediation-v2/ISIS_V2_FOLIAGE_PACK_GENERATION_API_TYPED_REQUEST_CONTRACTS.json
    • libs/isis/client/src/resources/workflows.ts
    • libs/isis/client/src/resources/workflows.foliage-pack.spec.ts
    • libs/isis/client/src/examples/foliage-pack.ts
    • libs/isis/client/src/examples/foliage-pack.spec.ts
    • libs/isis/client/src/client.ts
    • libs/isis/client/src/index.ts
    • libs/isis/client/src/resources/index.ts
    • ISIS_TODOS_2.md