### Video Generation Progress Logs Response (JSON) Source: https://promptchan.com/docs Example JSON response providing progress details for a video generation request. Includes queue information and the completion percentage. ```json { "current_queue_length": 1, "initial_queue_length": 1, "progress": 0 } ``` -------------------------------- ### Video Generation Result Response (JSON) Source: https://promptchan.com/docs Example JSON response containing the results of a completed video generation request. Includes status, a message, the video URL, and gem count. ```json { "status": "success", "message": "Data received and processed", "video": [ "https://storage.googleapis.com/promptchan-fe814.appspot.com/generated_videos/Znn1WrsVzTa6XYeFAP3a.mp4?Expires=4894998608&GoogleAccessId=firebase-adminsdk-jjn1g%40promptchan-fe814.iam.gserviceaccount.com&Signature=SR9nXGVZAc%2FHzV5121iiw6Os3i%2F9GD%2F0J6YXM2lnmP1OMrDdgpl4UvE7eQHtD7%2Belc9DQD631RWYKg3xFe6iW7mAQt1J4J3%2FCdTwzsFlDODMYVwVMFsKzCwTh%2Fz5xxyvs%2B8689V7FlqC7TaAXrTa2GsbotHFEKEUkhHTjqTr6xoEbw9W3hhu3wopTzTzUSuCyepoPk0FXiV2jDzba1%2BR6EW0teuq5SV3xQiyrcuQ7yoVkLnfOH38Nwp4dDDY00BptGZXHOzyBPcNdgyk%2BQTLknp3as%2B1YZ9qMekpCL%2FPvxjD1gVPrHyQdIaT8DGtCVG9UqowonR9fA8k%2BuYCuHw1lw%3D%3D" ], "gems": 323 } ``` -------------------------------- ### Video Generation Status Response (JSON) Source: https://promptchan.com/docs Example JSON response indicating the status of a video generation request. The 'status' field shows the current state of the process. ```json { "status": "InProgress" } ``` -------------------------------- ### Video Generation Request Response (JSON) Source: https://promptchan.com/docs Example JSON response after successfully submitting a video generation request. It contains a unique identifier for tracking the request. ```json { "request_id": "70e5b14d-88d6-4fc6-84b1-19759cef5cde" } ``` -------------------------------- ### GET /api/external/video_v4/status/{request_id} Source: https://promptchan.com/docs Checks the current status of a video generation request. ```APIDOC ## GET /api/external/video_v4/status/{request_id} ### Description Poll this endpoint to check if the video generation is still in progress or completed. ### Method GET ### Endpoint https://prod.aicloudnetservices.com/api/external/video_v4/status/{request_id} ### Parameters #### Path Parameters - **request_id** (string) - Required - The unique identifier returned from the submission endpoint. ### Response #### Success Response (200) - **status** (string) - Current status of the process (e.g., 'InProgress'). #### Response Example { "status": "InProgress" } ``` -------------------------------- ### GET /api/external/video_v4/result/{request_id} Source: https://promptchan.com/docs Retrieves the final video file and metadata for a completed request. ```APIDOC ## GET /api/external/video_v4/result/{request_id} ### Description Fetches the final generated video URL and associated metadata once the generation is complete. ### Method GET ### Endpoint https://prod.aicloudnetservices.com/api/external/video_v4/result/{request_id} ### Parameters #### Path Parameters - **request_id** (string) - Required - The unique identifier of the request. ### Response #### Success Response (200) - **status** (string) - Status of the result retrieval. - **video** (array) - List of URLs for the generated video. - **gems** (integer) - Remaining balance or cost metadata. #### Response Example { "status": "success", "message": "Data received and processed", "video": ["https://storage.googleapis.com/..."], "gems": 323 } ``` -------------------------------- ### Retrieve Video Generation Progress Logs (API Call) Source: https://promptchan.com/docs Fetches detailed progress logs for a video generation request. This provides insights into the generation process, including queue length and completion percentage. ```bash curl -X GET https://prod.aicloudnetservices.com/api/external/video_v4/status_with_logs/{request_id} ``` -------------------------------- ### POST /api/external/create Source: https://promptchan.com/docs Generates an AI image based on provided style, prompt, and physical attribute parameters. ```APIDOC ## POST /api/external/create ### Description Generates a non-character image based on user-provided prompts and stylistic settings. ### Method POST ### Endpoint https://prod.aicloudnetservices.com/api/external/create ### Parameters #### Request Body - **style** (string) - Optional - Art style of the image. Defaults to 'Cinematic'. - **poses** (object) - Optional - Pose for the generated image. - **filter** (string) - Optional - Filter applied to the image. Defaults to 'Default'. - **emotion** (string) - Optional - Dynamic character expressions. - **detail** (float) - Optional - Detail level of the image stylization. - **prompt** (string) - Required - Text prompt for guiding the image generation. - **seed** (integer) - Optional - Seed for deterministic results. - **quality** (string) - Optional - Quality setting (Ultra, Extreme, Max). - **creativity** (integer) - Optional - Creativity level of the generation. - **image_size** (string) - Optional - Size of the generated image. - **negative_prompt** (string) - Optional - Text prompt specifying what to avoid. - **restore_faces** (boolean) - Optional - Whether to apply face restoration. - **age_slider** (integer) - Optional - Control perceived age of the subject. - **weight_slider** (float) - Optional - Control body weight of the subject. - **breast_slider** (float) - Optional - Adjust size or prominence of breasts. - **ass_slider** (float) - Optional - Adjust size or prominence of ass. ### Request Example { "style": "Cinematic", "prompt": "A beautiful landscape", "image_size": "512x512" } ### Response #### Success Response (200) - **image** (string) - The generated image URL or data. - **gems** (integer) - Remaining gem balance. #### Response Example { "image": "https://example.com/image.png", "gems": 100 } ``` -------------------------------- ### POST /generate Source: https://promptchan.com/docs Generates an image based on provided parameters using the Promptchan AI engine. ```APIDOC ## POST /generate ### Description Generates an image based on provided parameters. Each request costs a base of 1 Gem. ### Method POST ### Endpoint https://prod.aicloudnetservices.com/generate ### Parameters #### Request Body - **prompt** (string) - Required - The text description for the image generation. - **model** (string) - Optional - The specific AI model version to use. - **aspect_ratio** (string) - Optional - The dimensions of the output image. ### Request Example { "prompt": "a futuristic cityscape at sunset", "model": "v1.4", "aspect_ratio": "16:9" } ### Response #### Success Response (200) - **image_url** (string) - The URL to the generated image. - **job_id** (string) - The unique identifier for the generation task. #### Response Example { "image_url": "https://cdn.promptchan.com/images/example.jpg", "job_id": "gen_123456789" } ``` -------------------------------- ### Submit Video Generation Request (JSON) Source: https://promptchan.com/docs Submits a request to generate a video with specified parameters. Accepts a JSON payload defining prompt, style, aspect ratio, and other optional settings. Returns a unique request ID upon successful submission. ```json { "audioEnabled": false, "prompt": "penguin", "video_quality": "Standard", "aspect": "Portrait", "seed": 100, "style": "Anime XL+" } ``` -------------------------------- ### POST /api/external/video_v4/submit Source: https://promptchan.com/docs Submits a new video generation request to the server. ```APIDOC ## POST /api/external/video_v4/submit ### Description Submits a request to generate a video based on the provided prompt and style parameters. ### Method POST ### Endpoint https://prod.aicloudnetservices.com/api/external/video_v4/submit ### Parameters #### Request Body - **prompt** (string) - Required - Prompt text for generating video content. - **age_slider** (integer) - Optional - Slider to control the perceived age of the subject (min 18). - **weight_slider** (float) - Optional - Slider to control body weight (-1 to 1). - **breast_slider** (float) - Optional - Slider to adjust breast prominence (-1 to 1). - **ass_slider** (float) - Optional - Slider to adjust ass prominence (-1 to 1). - **style** (string) - Optional - Art style (e.g., 'Cinematic', 'Anime', 'Hyperreal'). - **aspect** (string) - Optional - Aspect ratio ('Portrait' or 'Wide'). - **seed** (integer) - Optional - Random seed value. ### Request Example { "audioEnabled": false, "prompt": "penguin", "video_quality": "Standard", "aspect": "Portrait", "seed": 100, "style": "Anime XL+" } ### Response #### Success Response (200) - **request_id** (string) - Unique identifier for the video request. #### Response Example { "request_id": "70e5b14d-88d6-4fc6-84b1-19759cef5cde" } ``` -------------------------------- ### Retrieve Generated Video Result (API Call) Source: https://promptchan.com/docs Retrieves the final generated video and associated metadata once the generation process is complete. Requires the unique request ID. ```bash curl -X GET https://prod.aicloudnetservices.com/api/external/video_v4/result/{request_id} ``` -------------------------------- ### Create Image Generation Request Source: https://promptchan.com/docs This endpoint allows users to request image generation by providing stylistic parameters such as style, filter, emotion, and physical sliders. It returns the generated image and the cost in gems. ```json { "style": "Cinematic", "poses": "Default", "filter": "Default", "emotion": "Default", "detail": null, "prompt": "string", "seed": 0, "quality": "Ultra", "creativity": 0, "image_size": "512x512", "negative_prompt": "string", "restore_faces": true, "age_slider": 0, "weight_slider": null, "breast_slider": null, "ass_slider": null } ``` -------------------------------- ### Check Video Generation Status (API Call) Source: https://promptchan.com/docs Retrieves the current status of a video generation request using its unique identifier. This endpoint is crucial for monitoring the progress of a submitted video job. ```bash curl -X GET https://prod.aicloudnetservices.com/api/external/video_v4/status/{request_id} ``` -------------------------------- ### POST /api/external/chat Source: https://promptchan.com/docs Handles chat interactions with an AI companion, including roleplay support and chat history management. ```APIDOC ## POST /api/external/chat ### Description Sends a message to an AI companion and receives a response, including updated chat history and potential media attachments. ### Method POST ### Endpoint https://prod.aicloudnetservices.com/api/external/chat ### Parameters #### Request Body - **message** (string) - Required - User's message to the AI. - **characterData** (object) - Required - Character profile information. - **chatHistory** (array) - Required - Previous messages. - **isRoleplay** (boolean) - Optional - Toggle for roleplay mode. - **redo** (boolean) - Optional - Request a redo of the last response. - **userName** (string) - Optional - The name of the user. ### Request Example { "message": "Hello!", "characterData": {"name": "AI"}, "chatHistory": [], "isRoleplay": false } ### Response #### Success Response (200) - **audio** (string) - Generated audio response. - **chatHistory** (array) - Updated conversation history. - **message** (string) - The AI's text response. - **selfie** (string) - Generated image attachment. #### Response Example { "message": "Hello there!", "chatHistory": [] } ``` -------------------------------- ### Send AI Companion Chat Message Source: https://promptchan.com/docs This endpoint handles chat interactions with an AI companion, accepting character profile data and conversation history. It returns the AI response, updated chat history, and optional media like audio or selfies. ```json { "message": "string", "characterData": { "name": "string", "personality": "string", "scenario": "string", "sexuality": "string", "openness": 0, "emotions": 0, "age": 0, "gender": "string" }, "chatHistory": [ { "role": "string", "content": "string" } ], "isRoleplay": true, "redo": true, "userName": "string" } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.