test-world
NSFW Erotic Novel AI Generation -NSFW Text (Data) Generator for Detecting 'NSFW' Text: Multilingual Experience
Input text to add 'world' to
Run this model in Node.js with one line of code:
npm install replicate
REPLICATE_API_TOKEN
export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run aitechtree/test-world using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "aitechtree/test-world:336b9dff98b7aefb3543a499f2a276495ec632ec4812fc998270366eb589cd11", { input: { input_text: "hello" } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
import replicate
output = replicate.run( "aitechtree/test-world:336b9dff98b7aefb3543a499f2a276495ec632ec4812fc998270366eb589cd11", input={ "input_text": "hello" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "aitechtree/test-world:336b9dff98b7aefb3543a499f2a276495ec632ec4812fc998270366eb589cd11", "input": { "input_text": "hello" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
{ "completed_at": "2024-10-08T11:05:32.182415Z", "created_at": "2024-10-08T11:00:26.527000Z", "data_removed": false, "error": null, "id": "cvgznnmq3xrge0cjdf4rwe0f08", "input": { "input_text": "hello" }, "logs": null, "metrics": { "predict_time": 0.002861425, "total_time": 305.655415 }, "output": "hello world", "started_at": "2024-10-08T11:05:32.179554Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/cvgznnmq3xrge0cjdf4rwe0f08", "cancel": "https://api.replicate.com/v1/predictions/cvgznnmq3xrge0cjdf4rwe0f08/cancel" }, "version": "336b9dff98b7aefb3543a499f2a276495ec632ec4812fc998270366eb589cd11" }
This model runs on Nvidia T4 GPU hardware. We don't yet have enough runs of this model to provide performance information.
This model is not yet booted but ready for API calls. Your first API call will boot the model and may take longer, but after that subsequent responses will be fast.
This model runs on T4 hardware which costs $0.000225 per second