Skip to content

Lovart Assets: Prompts And Practical Workflow

🎯Learning Objectives
AssetsPromptingDesignWorkflow

This chapter is about creating production-usable visual assets (icons, small illustrations, UI elements) with a prompt-first workflow, then integrating them into your product build.

⏱️
Estimated Time
Approx. 4 hours
📦
Expected Output
A small prompt library + usable assets
Assets that are consistent and product-ready

1. Prompt Patterns That Work

When you want repeatable, consistent results, your prompt should specify:

  1. Subject: what exactly is in the image.
  2. Style: 3D / flat / isometric / vector / clay / etc.
  3. Materials: glassmorphism, matte, glossy, paper, etc.
  4. Lighting: studio soft light, backlight, rim light, etc.
  5. View: isometric, top-down, front view.
  6. Output constraints: transparent background, PNG, aspect ratio, no text, etc.

Example prompt templates:

text
[Subject], [style], [materials], [lighting], [view], clean background, no text, high detail, 1024x1024, PNG
text
Minimal vector logo of [X] combined with [Y], flat design, black line art, no gradients, centered, white background

2. Small Asset Ideas (Examples)

  • A set of weather icons: frosted glass style, soft gradients, studio lighting, isometric view.
  • A minimal vector logo: coffee cup + code symbol, flat black line, centered.
  • A friendly 3D memoji-like character: clay render, soft light, neutral background.
  • A remote-work flat illustration: corporate style, clean shapes, consistent palette.
  • Game UI buttons: capsule shape, jelly material, white icon, consistent shadows.

3. Quality Checklist

Before you accept an asset, check:

  1. Consistency: same style across the set.
  2. Legibility: readable at small sizes (32px-64px).
  3. Background: truly transparent if required.
  4. No text artifacts.
  5. Composition: centered and not cropped.

4. Practical Mini-Assignment (Gradio Demo Outline)

Goal: build a small tool that:

  1. Takes an input paragraph or instruction.
  2. Generates an English image generation prompt.
  3. Optionally accepts a reference image for image-to-image.
  4. Calls an image generation API and renders the result.

Recommended constraints:

  • Use Gradio 4+ Blocks (not Interface).
  • Fixed 60/40 layout: left for prompt generation, right for image generation.
  • Validate empty input, show friendly errors, do not crash.

Suggested UI components:

  • input_text (multiline textbox)
  • identify_intent_btn
  • intent_status (readonly textbox)
  • system_prompt (editable only for "article illustration" intent)
  • confirm_prompt_btn
  • generation_prompt (editable)
  • ref_image (optional upload)
  • generate_btn
  • result_image

Output

Deliver:

  1. A small prompt library (5-10 prompts).
  2. A consistent asset set (at least 6 assets).
  3. A working Gradio demo script with a clean UX flow.