Creating Your First Chain - Render Chain Management Guide
Learn how to create and manage render chains in Renderiq. Complete guide covering automatic chain creation, manual chain management, version references, and chain organization.
Creating Your First Chain
Render chains are the backbone of iteration management in Renderiq. They organize related renders into sequences, allowing you to track design evolution and reference previous versions. This guide covers everything about creating and managing render chains.
What is a Render Chain?
A render chain is a collection of renders organized in sequential order. Each chain:
- Groups Related Renders: Keeps related iterations together
- Maintains Version History: Tracks render sequence and order
- Enables References: Allows referencing previous renders in new generations
- Tracks Iteration Progress: Shows how designs evolve over time
- Preserves Context: Maintains context between related renders
Chain Structure
Each chain includes:
- Chain ID: Unique identifier (UUID)
- Project ID: Parent project reference
- Name: Descriptive chain name
- Description: Optional chain description
- Renders: Array of renders in sequence
- Chain Position: Position of each render in sequence
- Timestamps: Created and updated dates
Why Use Chains?
Chains are useful for:
- Iteration Tracking: See how your design evolves
- Version Control: Reference specific versions
- Context Preservation: Maintain context between renders
- Organization: Keep related work together
Creating a Chain
Method 1: Automatic Creation (Recommended)
When you create your first render in a project, a default chain is automatically created:
Automatic Chain Creation Process:
- User generates first render in a project
- System checks for existing chains in the project
- If no chains exist, creates a new default chain
- Chain name:
[Project Name] - Iterations - Description: "Automatic chain for render iterations"
- Render is added to the chain at position 0
Benefits:
- No manual setup required
- Consistent naming convention
- Automatic organization
- Seamless workflow
Method 2: Manual Creation via API
Chains can be created manually using the createRenderChain server action:
const result = await createRenderChain(
projectId,
'My Custom Chain',
'Description of the chain'
);Use Cases:
- Creating multiple chains for different design directions
- Organizing renders by client or phase
- Separating experimental from production renders
Method 3: From Render Page
- Navigate to
/render - Select your project from the dropdown
- Automatic: If no chain exists, one is created automatically
- Manual Selection: Select an existing chain from the chain dropdown
- Generate render (it will be added to selected chain)
Managing Chains
Viewing Chains
View all chains in a project:
- Go to project detail page
- Navigate to the "Chains" section
- See all chains with render counts
Chain Details
Each chain shows:
- Chain name and description
- Number of renders
- Creation date
- Last updated date
- Render previews
Editing Chains
- Go to chain detail page
- Click "Edit Chain"
- Update name or description
- Save changes
Deleting Chains
- Go to chain detail page
- Click "Delete Chain"
- Confirm deletion
Warning: Deleting a chain will not delete the renders, but they will be removed from the chain.
Adding Renders to Chains
Automatic Addition
When generating a render:
- If a chain is selected, the render is automatically added
- Renders are added in sequence
- Each render gets a position number
Manual Addition
- Go to render detail page
- Click "Add to Chain"
- Select the chain
- Choose position (optional)
Chain Navigation
Viewing Chain Renders
- Navigate to chain detail page
- See all renders in sequence
- Click any render to view details
- Use navigation arrows to move between renders
Chain Position
Each render in a chain has a position:
- Position 0: First render
- Position 1: Second render
- And so on...
Positions help maintain order and allow referencing by position.
Referencing Previous Renders
Using Mentions
In the unified chat interface, you can reference previous renders:
- Use
@v1to reference the first render - Use
@v2to reference the second render - Use
@latestto reference the most recent render
Visual References
When creating a new render:
- Previous renders in the chain are shown
- Click to use as reference
- Reference render appears in the prompt
Chain Best Practices
Naming Conventions
- Use descriptive names: "Exterior Design Iterations"
- Include version info: "Kitchen Design v2"
- Use consistent naming across projects
Organization
- One chain per design direction
- Create new chains for major changes
- Archive completed chains
Documentation
- Add descriptions to chains
- Use render notes to document changes
- Keep track of what worked and what didn't
Advanced Features
Chain Branching
Create variations by:
- Selecting a render as starting point
- Creating a new chain
- Adding the selected render as first render
- Building from there
Chain Merging
Currently not available, but you can:
- Manually add renders from one chain to another
- Reference renders across chains
Troubleshooting
Can't Create Chain
- Ensure you have a project selected
- Check if you have permission
- Verify project isn't archived
Renders Not Appearing in Chain
- Check if render was added to chain
- Verify you're viewing the correct chain
- Refresh the page
Chain Not Updating
- Refresh the page
- Check if render generation completed
- Verify chain selection
Next Steps
- Unified Chat Interface - Learn how to generate renders
- Prompt Engineering - Master the art of prompts