LogoLogo
Go ToJoin the Community
  • Getting Started
    • Introduction
    • How it Works
    • Onboarding
  • Examples
    • Tutorials
      • Hello, World!
      • Image Generation w/ Stable Diffusion
  • CREATE WITH BYTENITE
    • Building Blocks
      • Apps
      • Job Templates
  • SDK
    • ByteNite Dev CLI
  • Launch with ByteNite
    • Data Sources
      • AWS S3
      • Google Cloud Storage
      • Storj
      • HTTP
      • File Upload
      • Temporary Bucket
    • Jobs
  • API Reference
    • Customer API
      • Jobs
        • Create
        • Read
        • Update
        • Manage
        • Other
      • Logs
      • Data Sources
      • Templates
      • Events
    • Authentication API
      • Access Token
      • API Keys
      • Secrets
      • User
    • Developer API
      • Apps
        • Metadata
        • Push
        • Manage
        • Pull
      • Engines
        • Metadata
        • Push
        • Manage
        • Pull
      • Templates
    • Wallet API
      • Balance
      • Transactions
      • Exchange Rate
      • Redeem Coupon
  • GUI
  • Other
    • Glossary
    • Feature Requests
    • Status
Powered by GitBook

© 2025 ByteNite Inc.

On this page

Was this helpful?

Export as PDF
  1. CREATE WITH BYTENITE
  2. Building Blocks

Job Templates

A Job Template (or simply Template) combines Building Blocks into one configuration file for your jobs. It:

  • Provides instructions to the services that execute your job.

  • Ensures your app and data engines are connected correctly.

By default, ByteNite generates a job template when you start building a new app. This allows you to focus on developing your app without needing to configure the other components upfront.

However, since your app may expect specific data types or formats, you can create and customize a job template to link your app to the appropriate partitioning and assembling engines.

Job Template file

Example:

template.json
{
  "id": "img-gen-diffusers-template",
  "description": "A template for my img-gen-diffusers app",
  "app": "img-gen-diffusers@1",
  "partitioner": "replicate-fanout",
  "assembler": "zipper",
}

How to create a job template

You can either:

  1. Define the fields manually as shown in the example, or

  2. Generate a blank template using the ByteNite CLI:

bytenite template new [template_name]

Key notes

  • If you prefer to manage templates separately, you can move your template out of the app folder and use the CLI to manage it independently.

Your template includes a user-defined id and an optional description. Use the app, partitioner, and assembler fields to specify which components should be used in jobs built from this template:

app string

Description:

An app tag to be used with this template.

Supported Format:

Examples:

  • "img-gen-diffusers"

  • "img-gen-diffusers@1"

  • "[email protected]"

partitioner string

Description:

An engine tag to be used with this template.

Supported Format:

Examples:

  • "replicate-fanout"

  • "replicate-fanout@2"

  • "[email protected]"

assembler string

Description:

An engine tag to be used with this template.

Supported Format:

Examples:

  • "zipper"

  • "zipper@3"

  • "[email protected]"

PreviousAppsNextByteNite Dev CLI

Last updated 11 days ago

Was this helpful?

When you create a new app, a and is uploaded with the app.

Please refer to the definition.

Please refer to the definition.

Please refer to the definition.

Tag
Tag
Tag
template is generated automatically