Skip to content

Projects API

Projects are the top-level container for style guide, prompts, assets, and works.

MethodEndpointAuthScopeDescription
GET/api/projectsYesprojects:readList all projects for the current user.
GET/api/projects/:idYesprojects:readGet project by ID (full details).
POST/api/projectsYesprojects:writeCreate project.
PUT/api/projects/:idYesprojects:writeUpdate project.
DELETE/api/projects/:idYesprojects:writeDelete project and all its works, templates, assets.
FieldTypeDescription
idstringProject ID.
userIdstringOwner user ID.
namestringProject name.
projectTypestringProject type: blank, saas, news, social, ecommerce, educational. Determines default prompts.
systemPromptstringDefault scenario system prompt.
knowledgestringExtra context for LLM.
styleGuideobjectOptional StyleGuide (tone, color_palette, tempo, camera_style, brand_voice, must_include, must_avoid).
analyzerPromptstringOptional analyzer prompt override.
imageSystemPromptstringOptional image instruction override.
videoSystemPromptstringOptional video instruction override.
createdAtnumberUnix timestamp.
updatedAtnumberUnix timestamp.

When creating a project, you can specify a projectType to start with optimized prompts and style settings:

TypeDescription
blankDefault photorealistic style. Fully customizable.
saasSaaS product demos. Modern UI/UX focused, dashboard walkthroughs.
newsNews/media content. Broadcast journalism, documentary style.
socialSocial media/marketing. Engaging, trendy, brand-focused.
ecommerceE-commerce products. Product showcases, lifestyle shots.
educationalEducational/tutorial. Clear instruction, step-by-step guides.

Each type comes with pre-configured systemPrompt, imageSystemPrompt, videoSystemPrompt, and styleGuide optimized for that content type.

Request body:

{
"name": "My Project",
"projectType": "saas",
"knowledge": "We are building a project management tool..."
}
FieldTypeRequiredDescription
namestringNoProject name (default: “Yeni Proje”).
projectTypestringNoOne of: blank, saas, news, social, ecommerce, educational. Default: blank.
systemPromptstringNoCustom scenario prompt (overrides preset).
knowledgestringNoBrand context for AI.
styleGuideobjectNoStyle settings (overrides preset defaults).
imageSystemPromptstringNoCustom image instruction (overrides preset).
videoSystemPromptstringNoCustom video instruction (overrides preset).

When projectType is specified, the project is initialized with optimized prompts and style guide for that content type. You can still override individual fields.

Response: Full project object with id, createdAt, updatedAt.

Send the fields you want to change (e.g. name, styleGuide, systemPrompt). Unset optional fields can be omitted or set to null depending on API contract.