terra vidhal

Image Brief Studio

AI chats

About

An image brief studio with subject, style, aspect, palette, mood and seed controls, a staggered four-direction preview with deterministic generated art, a compiled prompt with word and token estimates, a brief summary, a changed-since-generation hint, copy as JSON and an export action.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Image Brief Studio to your project and fits it to your theme.

Code

How Image Brief Studio is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

/**
 * PrequelUI Animate — MIT — https://prequeluianimate.terravidhal.me
 */

import {
  ImageBriefStudio,
  type ImageAspect,
  type ImagePalette,
  type ImageStyle,
} from "@/components/ui/image-brief-studio";

const STYLES: ImageStyle[] = [
  { id: "collage", label: "Editorial collage", prompt: "layered paper cutouts, printed texture, soft grain", colors: ["#e7d7c1", "#c98a63", "#5b3a2e"] },
  { id: "soft3d", label: "Soft 3D", prompt: "matte clay shapes, diffused studio light, gentle depth", colors: ["#dbeafe", "#93c5fd", "#2563eb"] },
  { id: "line", label: "Minimal line", prompt: "single-weight line art, generous negative space", colors: ["#f4f4f5", "#a1a1aa", "#3f3f46"] },
  { id: "film", label: "Film still", prompt: "natural window light, shallow depth, muted highlights", colors: ["#f5e6c8", "#b08968", "#4b3f35"] },
];

const ASPECTS: ImageAspect[] = [
  { id: "square", label: "1:1", ratio: "1 / 1" },
  { id: "portrait", label: "4:5", ratio: "4 / 5" },
  { id: "wide", label: "16:9", ratio: "16 / 9" },
];

const PALETTES: ImagePalette[] = [
  { id: "sand", label: "Sand", colors: ["#f3e9d2", "#d9b382", "#8c5e3c"] },
  { id: "coast", label: "Coast", colors: ["#e0f2fe", "#7dd3fc", "#0369a1"] },
  { id: "grove", label: "Grove", colors: ["#ecfccb", "#a3e635", "#3f6212"] },
];

const MOODS = ["calm", "warm", "cinematic", "playful", "quiet", "bold"];

export default function ImageBriefStudioDemo() {
  return (
    <main className="flex min-h-screen w-full items-start justify-center bg-gradient-to-b from-muted/40 via-background to-background px-4 py-8 sm:px-6">
      <ImageBriefStudio
        styles={STYLES}
        aspects={ASPECTS}
        palettes={PALETTES}
        moods={MOODS}
        defaultSubject="A calm reading corner with warm afternoon light and a single armchair"
        title="Editorial image brief"
      />
    </main>
  );
}

Dependencies

More by terra vidhal

View all
  • Project Timeline

    Project Timeline

    30
  • Kanban Board

    Kanban Board

    20
  • Gravity Stars Background

    Gravity Stars Background

    20
  • Booking Calendar

    Booking Calendar

    18
  • Notification Center

    Notification Center

    16
  • Audio Waveform

    Audio Waveform

    16
  • Kpi Counter

    Kpi Counter

    16
  • Topographic Lines

    Topographic Lines

    16

More in AI chats

View all
  • Agent Chat

    Agent Chat

    21
  • AI Actions

    AI Actions

    372
  • AI Suggestions

    AI Suggestions

    27
  • Interactive LLM Token & Context Window Visualizer

    Interactive LLM Token & Context Window Visualizer

    30
  • AI SaaS Workflow Hero

    AI SaaS Workflow Hero

    36
  • Aquarium Prompt

    Aquarium Prompt

    219
  • Message Parts

    Message Parts

    10
  • AI Chat Composer

    AI Chat Composer

    21

Explore more

Part of PrequelUI Animate — browse the full library on 21st.dev.