Discusión

Functional Requirements for ImgxAI App 1. User Authentication and Profile Management - The system shall allow users to register and log in using email and password, or via third-party OAuth providers (Google, Apple). - The system shall support password recovery via email verification link. - The system shall allow users to update their profile information (name, avatar, preferred language, and timezone). - The system shall enforce session timeout after 30 minutes of inactivity. 2. Image Upload and Management - The system shall support image upload in formats: JPEG, PNG, WebP, and GIF (static only). - The system shall enforce a maximum file size of 20 MB per image. - The system shall allow batch upload of up to 10 images per session. - The system shall provide automatic image compression and resizing to a maximum dimension of 4096x4096 pixels. - The system shall store uploaded images in a secure cloud storage bucket with private access by default. 3. AI-Powered Image Editing - The system shall offer the following AI editing tools: background removal, object removal, image enhancement (upscaling, denoising), and style transfer. - The system shall allow users to select a specific region of an image (via bounding box or freehand mask) for targeted AI editing. - The system shall provide a "Generate Variations" feature that creates 4 distinct AI-generated variations of the uploaded image. - The system shall support text-to-image generation within the app, using a prompt input field with a maximum of 500 characters. - The system shall allow users to adjust AI intensity parameters (e.g., creativity, fidelity) via a slider from 0 to 100%. 4. Editing Workflow and History - The system shall maintain a version history for each image, allowing users to revert to any previous state. - The system shall provide an undo/redo function for at least 10 consecutive actions. - The system shall auto-save the editing progress every 5 seconds and on any action change. - The system shall allow users to duplicate an image project for experimentation without affecting the original. 5. Export and Sharing - The system shall support export in formats: PNG, JPEG, and WebP, with selectable quality (low, medium, high). - The system shall allow users to export images at original resolution or up to 4K (3840x2160) for enhanced images. - The system shall generate a shareable link for each image, with optional password protection and expiration date (1 hour, 1 day, 7 days, or never). - The system shall integrate with social media platforms (Instagram, X, Pinterest) for direct sharing, subject to user authorization. 6. Performance and Scalability - The system shall process AI editing requests within 10 seconds for standard images (up to 2048x2048 pixels) under normal load. - The system shall support concurrent usage of at least 1,000 active users without degradation in response time. - The system shall queue AI processing jobs in a message broker (e.g., RabbitMQ) to handle peak loads. - The system shall cache frequently accessed images and AI-generated results in a CDN for faster delivery. 7. Security and Privacy - The system shall encrypt all image data in transit (TLS 1.2 or higher) and at rest (AES-256). - The system shall not use user-uploaded images for training AI models without explicit opt-in consent. - The system shall provide a "Delete All Data" option in user settings, which permanently removes all images, history, and metadata within 24 hours. - The system shall implement rate limiting (e.g., 100 API requests per hour per user) to prevent abuse. 8. Notifications and Feedback - The system shall send email notifications for completed AI processing jobs (e.g., "Your image is ready"). - The system shall provide in-app notifications for system updates, maintenance windows, and new feature releases. - The system shall allow users to submit feedback or report bugs via a built-in form, with optional screenshot attachment. 9. Mobile and Web Responsiveness - The system shall provide a fully responsive web interface that works on desktop, tablet, and mobile browsers (minimum screen width 320px). - The system shall offer a mobile app (iOS and Android) with core features: upload, edit, export, and share. - The system shall sync user data (images, history, settings) across devices in real-time via cloud sync. 10. Accessibility and Localization - The system shall comply with WCAG 2.1 AA standards (e.g., keyboard navigation, screen reader compatibility, color contrast). - The system shall support multiple languages: English, Spanish, French, German, Japanese, and Chinese (Simplified). - The system shall allow users to switch language preferences without affecting their editing session. 11. Error Handling and Logging - The system shall display user-friendly error messages (e.g., "Upload failed: file too large") with a retry option. - The system shall log all critical errors to a centralized monitoring service (e.g., Sentry) for debugging. - The system shall automatically retry failed AI processing jobs up to 3 times before notifying the user. 12. Subscription and Billing - The system shall offer a free tier (limited to 5 AI edits per month) and paid tiers (e.g., Pro, Business) with higher quotas and advanced features. - The system shall integrate with payment gateways (Stripe, PayPal) for subscription management. - The system shall provide an invoice download feature for paid users, in PDF format. - The system shall allow users to cancel or upgrade their subscription at any time, with prorated billing.

De Wikiprompt, la enciclopedia libre de prompts

Dan ⚡️
Contribuido porDan ⚡️XFuente

12 may 2025

Functional Requirements for ImgxAI App 1. User Authentication and Profile Management - The system shall allow users to register and log in using email and password, or via third-party OAuth providers (Google, Apple). - The system shall support password recovery via email verification link. - The system shall allow users to update their profile information (name, avatar, preferred language, and timezone). - The system shall enforce session timeout after 30 minutes of inactivity. 2. Image Upload and Management - The system shall support image upload in formats: JPEG, PNG, WebP, and GIF (static only). - The system shall enforce a maximum file size of 20 MB per image. - The system shall allow batch upload of up to 10 images per session. - The system shall provide automatic image compression and resizing to a maximum dimension of 4096x4096 pixels. - The system shall store uploaded images in a secure cloud storage bucket with private access by default. 3. AI-Powered Image Editing - The system shall offer the following AI editing tools: background removal, object removal, image enhancement (upscaling, denoising), and style transfer. - The system shall allow users to select a specific region of an image (via bounding box or freehand mask) for targeted AI editing. - The system shall provide a "Generate Variations" feature that creates 4 distinct AI-generated variations of the uploaded image. - The system shall support text-to-image generation within the app, using a prompt input field with a maximum of 500 characters. - The system shall allow users to adjust AI intensity parameters (e.g., creativity, fidelity) via a slider from 0 to 100%. 4. Editing Workflow and History - The system shall maintain a version history for each image, allowing users to revert to any previous state. - The system shall provide an undo/redo function for at least 10 consecutive actions. - The system shall auto-save the editing progress every 5 seconds and on any action change. - The system shall allow users to duplicate an image project for experimentation without affecting the original. 5. Export and Sharing - The system shall support export in formats: PNG, JPEG, and WebP, with selectable quality (low, medium, high). - The system shall allow users to export images at original resolution or up to 4K (3840x2160) for enhanced images. - The system shall generate a shareable link for each image, with optional password protection and expiration date (1 hour, 1 day, 7 days, or never). - The system shall integrate with social media platforms (Instagram, X, Pinterest) for direct sharing, subject to user authorization. 6. Performance and Scalability - The system shall process AI editing requests within 10 seconds for standard images (up to 2048x2048 pixels) under normal load. - The system shall support concurrent usage of at least 1,000 active users without degradation in response time. - The system shall queue AI processing jobs in a message broker (e.g., RabbitMQ) to handle peak loads. - The system shall cache frequently accessed images and AI-generated results in a CDN for faster delivery. 7. Security and Privacy - The system shall encrypt all image data in transit (TLS 1.2 or higher) and at rest (AES-256). - The system shall not use user-uploaded images for training AI models without explicit opt-in consent. - The system shall provide a "Delete All Data" option in user settings, which permanently removes all images, history, and metadata within 24 hours. - The system shall implement rate limiting (e.g., 100 API requests per hour per user) to prevent abuse. 8. Notifications and Feedback - The system shall send email notifications for completed AI processing jobs (e.g., "Your image is ready"). - The system shall provide in-app notifications for system updates, maintenance windows, and new feature releases. - The system shall allow users to submit feedback or report bugs via a built-in form, with optional screenshot attachment. 9. Mobile and Web Responsiveness - The system shall provide a fully responsive web interface that works on desktop, tablet, and mobile browsers (minimum screen width 320px). - The system shall offer a mobile app (iOS and Android) with core features: upload, edit, export, and share. - The system shall sync user data (images, history, settings) across devices in real-time via cloud sync. 10. Accessibility and Localization - The system shall comply with WCAG 2.1 AA standards (e.g., keyboard navigation, screen reader compatibility, color contrast). - The system shall support multiple languages: English, Spanish, French, German, Japanese, and Chinese (Simplified). - The system shall allow users to switch language preferences without affecting their editing session. 11. Error Handling and Logging - The system shall display user-friendly error messages (e.g., "Upload failed: file too large") with a retry option. - The system shall log all critical errors to a centralized monitoring service (e.g., Sentry) for debugging. - The system shall automatically retry failed AI processing jobs up to 3 times before notifying the user. 12. Subscription and Billing - The system shall offer a free tier (limited to 5 AI edits per month) and paid tiers (e.g., Pro, Business) with higher quotas and advanced features. - The system shall integrate with payment gateways (Stripe, PayPal) for subscription management. - The system shall provide an invoice download feature for paid users, in PDF format. - The system shall allow users to cancel or upgrade their subscription at any time, with prorated billing. Un prompt detallado para generar requisitos funcionales de una aplicación de generación de imágenes con IA (clon de Midjourney) usando la API de OpenAI, con requisitos específicos de UI, filtrado y almacenamiento.

Contenido del PromptGuardar

🌐
Me gustaría crear requisitos funcionales concisos para la siguiente aplicación: La aplicación se llama ImgxAI y es un clon de Midjourney, pero usando el modelo de imagen de OpenAI. Investiga Midjourney para entender mejor la aplicación. Mis requisitos: - Debe integrarse con las APIs de OpenAI. El modelo de imagen utilizado es gpt-image-1 - La aplicación debe tener una interfaz unificada con una entrada de chat y una línea de tiempo de resultados - La línea de tiempo debe ser desplazable y tener carga infinita con paginación - La línea de tiempo debe ser responsiva, una cuadrícula de 1 en móvil, 2 en tablet y 4 en escritorio - Debe haber filtros mínimos en la línea de tiempo, con la capacidad de filtrar por - fecha - estado - relación de aspecto - ordenar por más reciente primero o más antiguo primero - Debes poder descargar cada imagen haciendo clic en ella - Debe haber una vista de detalles para el prompt completo que muestre: - todas las imágenes para el prompt - el jobId - creado - estado - número de imágenes - dimensiones - modelo - calidad - permitir volver a ejecutar fácilmente el prompt y descargar cada una de las imágenes - Las imágenes deben mostrarse en su relación de aspecto correcta pero dentro de un contenedor cuadrado - Puedes enviar el prompt múltiples veces; se agregarán más elementos a la línea de tiempo (como trabajos en segundo plano) - Cada prompt puede tener las siguientes opciones: - calidad: (baja, media, alta) - relación de aspecto: 1024x1024, 1536x1024, 1024x1536 - output_compression ((0-100%)) - el valor predeterminado es 50% - output_format debe ser webp - moderación debe ser "baja" - n (número de imágenes a generar) - response_format debe ser b64_json - modelo debe ser "gpt-image-1" - Debes poder ver un prompt anterior y volver a ejecutarlo fácilmente haciendo clic en él - Las imágenes de respuesta deben almacenarse localmente en el almacenamiento del navegador - Debes tener una barra de navegación simple con un botón de configuración - En el menú de configuración puedes establecer tu clave de API de OpenAI que también se almacena localmente en el almacenamiento del navegador - Ya existe una base de código usando Next.js 15, TailwindCSS, Lucide Icons, React Hook Form con zod y Shadcn UI. Salida como código markdown.

Iniciá sesión para ver el prompt completo

Continuar con:

Al iniciar sesión, aceptás nuestros Términos de uso y Política de privacidad

Uso

Este prompt está diseñado para usarse con coding. Copiá el contenido de arriba y pegalo en tu herramienta de IA preferida.

Para mejores resultados, personalizá los marcadores (indicados con corchetes o mayúsculas) con tus requisitos específicos.

Referencias

Categorías:coding| twitter| ai-image-generation| functional-requirements

Discusión