302 AI Studio

Tips & Best Practices

Master these tips to make your Vibe Coding experience more efficient and smooth.


Provide Clear Requirements

The clearer your requirements, the more accurate the AI-generated code. A good prompt should include:

  • Feature Description - What functionality you want to implement
  • Reference Examples - Similar products or design references
  • Technical Preferences - If you have specific tech stack requirements

Example Prompt

Based on the workflow and prompts from this article
https://mp.weixin.qq.com/s/xxx

Using this API
https://doc.302.ai/xxx

Create a PPT generator referencing Figma's interface
Features include auto-generating outlines and PPT content
API KEY is entered by the user in the interface and cached locally

Make Good Use of Screenshots

When encountering issues, sending screenshots directly to the AI is the most efficient way to communicate.

AI can understand:

  • Error messages in screenshots
  • Interface layout issues
  • Styling display anomalies
  • Situations where functionality doesn't meet expectations

And provide targeted fix solutions.


Iterative Development

Complex projects don't need to be perfect in one go. Recommended iteration process:

Build the Basic Framework

First, have the AI create the project's basic structure and core functionality.

Add Features Gradually

Add functional modules one by one, verifying the results after each addition.

Optimize and Polish

After completing the functionality, optimize the interface and refine details.


Utilize API Debug Console

During development, you can ask the AI to add a debug console feature to conveniently view API call status and return results, quickly pinpointing issues.

Example prompt:

Need to add an API debug console where I can see which APIs are called and whether they return responses

More Vibe Coding Showcases

Below are more application sites created using 302.AI client's Vibe feature

Image Generation Site Based on GPT-Image-1.5 API

https://pf5u2up0vx.302ai.app/

Model Arena for LLMs

https://dt6gk02esd.302ai.app/

Image Editing Site Based on Qwen-Image-Layered API

https://5acqmx97df.302ai.app


Common Issue Handling

AI Generated Code Has Errors

  1. Send the error message or screenshot to the AI
  2. Describe the expected behavior
  3. Let the AI fix it

Functionality Doesn't Meet Expectations

  1. Clearly describe the current behavior
  2. Detail the expected behavior
  3. If there's a reference, provide a reference link or screenshot

Unsatisfied with Styling

  1. Provide specific style requirements (colors, fonts, layout, etc.)
  2. Or provide a design reference image
  3. Let the AI adjust according to requirements

Next Steps

On this page