Loading...
Loading...
Patterns for building applications that integrate the Krea API. Auth, polling discipline, error handling, validation, frontend integration (SvelteKit/React/Vue), and the 'prototype in chat, productize in app' workflow. Use when the user is writing code that calls the Krea API directly — building a generator UI, a content pipeline, a creative tool — not when they just want to generate one image. For interactive generation use the sibling krea-ai skill instead.
npx skill4agent add krea-ai/skills krea-buildkrea-aibash /path/to/skills/scripts/update-check.shUPGRADE_AVAILABLE <local> <remote>touch ~/.krea-skills/update-check-disabledkrea-ai| Situation | Use |
|---|---|
| "Generate me an image of X" | |
| "Build me a moodboard app that uses Krea" | |
| "Write a TypeScript helper to call Krea" | |
| "Run a one-off pipeline now" | |
| "Add Krea generation to my React form" | |
krea-aireferences/integration-patterns.md+page.server.ts+server.tsactions+page.server.tsapp/api/*/route.tsgetServerSidePropsreferences/api-client.mdAuthorization: Key ${KREA_API_KEY}POST /generate/image/<provider>/<model>{ prompt, ... }{ job_id }GET /jobs/<job_id>statuscompletedfailedreferences/validation.mdreferences/frontend-snippets.mdreferences/validation.mdreferences/integration-patterns.mdreferences/api-client.mdreferences/validation.mdreferences/frontend-snippets.mdreferences/api-client.mdreferences/frontend-snippets.mdsrc/lib/krea/index.tskrea-ai