Advanced Usage

The StealthGPT API is designed to be flexible and adaptable to various use cases. In this section, we'll offer guidance on how to fine-tune the API for specific requirements and optimize the content generation and rephrasing process.

Optimal Performance and Character Limitations

For optimal performance and content quality, we recommend using the StealthGPT API for responses requiring 2,000 characters or less. While the API can generate content above this threshold, we cannot guarantee the same level of quality and coherence for longer responses.

Our team is continuously working on improving the API's capabilities to deliver longer, coherent, and stealthier responses. We appreciate your understanding and encourage you to experiment with the API to find the optimal character range for your specific use case.

Adjusting Prompt Phrasing

The quality and relevance of the generated content greatly depend on the phrasing of your prompts. Experiment with different phrasings or provide additional context to guide the API in generating content that better aligns with your goals. For instance, if you're looking for a more formal tone, you can specify that in your prompt:

Please write a formal introduction to the topic 
of artificial intelligence.

Using Content Templates

When generating content with specific structures or formats, you can use content templates to guide the API. By providing placeholders or examples within your prompt, you can ensure that the generated content adheres to your desired format. Make sure to stringify your content before passing it into the JSON object.

Example prompt:

{
  "prompt": "Please write an email to a client informing 
  them about a new product, following this template: 
  \n\nSubject: [Product Name] - A Game Changer in [Industry]
  \n\nHi [Client Name],\n\nI hope this email finds you well. 
  I'm excited to introduce our latest product, [Product Name], 
  which has the potential to revolutionize the 
  [Industry]...",
  "rephrase": false
}

Handling Lists and Enumerations

If you need the API to generate a list or enumeration, you can specify this in your prompt. For example:

Please list five benefits of using renewable energy sources.

Combining Multiple API Requests

For longer or more complex content, you may need to break your prompt into smaller, more focused requests. By making multiple API requests, you can piece together content that covers different aspects of your topic or project.

Iterative Rephrasing

To achieve a higher degree of stealthiness, you can send the same content to the API for rephrasing multiple times. Each iteration of rephrasing may result in more unique and discrete text. However, be cautious, as too many iterations may lead to a loss of coherence or meaning in the content.

Handling API Limitations

If you encounter rate limits or other API limitations, consider implementing a queuing mechanism or rate-limiting strategy in your application to manage and distribute your API requests efficiently.

By applying these advanced usage tips, you can optimize the StealthGPT API to better suit your specific needs and generate content that aligns with your requirements. If you need further assistance or have questions, please refer to the other sections of the documentation or contact our support team.

Last updated