Skip to main content

API Endpoint

  • URL: https://text-tad.droplinked.workers.dev/
  • Method: POST
  • Content-Type: application/json

Authentication

An API key is required for access. Contact Droplinked support to obtain your API key. Include it in the request headers as follows:
  • Header: api-key
  • Value: <YOUR_API_KEY> (provided by Droplinked)

Request Format

The API accepts a JSON payload with the following fields:

Request Body

Example Request Body

Response Format

  • Content-Type: text/plain
  • Response: A raw text string representing the logo prompt, with no JSON, formatting, or additional text.

Example Response

Guidelines for Logo Prompt Generation

The API generates prompts based on these principles:
  1. Input Processing: Extracts key details from the description (e.g., company name, industry, style preferences).
  2. Output Design:
    • Concise and clear, tailored for text-to-image AI.
    • Incorporates brand identity, imagery, and styling cues.
    • Focuses on clarity and relevance to the company/shop.
  3. Restrictions:
    • No extra text (e.g., no greetings, explanations, or JSON).
    • No code blocks, disclaimers, or labels.
    • Pure text prompt only.

Example Transformation

  • Input Description: “We are an online bookstore called Novel Nest, specializing in rare and classic literature with a modern and minimalist vibe. We want something sleek, refined, and timeless that represents our passion for literature.”
  • Output Prompt: A sleek, modern, and minimalist logo for Novel Nest, specializing in rare and classic literature. Subtle nod to timeless books, refined typography, and a clean design representing passion for reading.

JavaScript Example

Below is an example of how to use the Logo Prompt Generator API in JavaScript with the fetch API:

Error Handling

  • Invalid API Key: Returns an error message (e.g., “Unauthorized”).
  • Missing Fields: If command_name or description is missing, the API may return an error or fail silently.
  • Network Issues: Handle errors in the .catch block of the fetch call.

Example Error Output

Best Practices

  1. Description Detail: Provide a clear description with key brand elements (e.g., name, industry, vibe) for optimal results.
  2. Prompt Usage: Feed the output directly into a text-to-image AI tool for logo generation.
  3. Testing: Experiment with different descriptions to refine the generated prompts.
  4. Integration: Use in workflows to automate logo ideation for businesses or clients.

Support

For assistance or to request an API key, contact Droplinked support at support@droplinked.com. Provide details such as your use case and expected request volume.