# Logo Generator (`calm_necessity/logo-generator`) Actor

This Actor provides an AI-powered logo generator API that creates unique, professional logos from simple text inputs such as brand name, industry, style, and color preferences. It allows users to automatically generate logos at scale, without hiring designers or using complex design software.

- **URL**: https://apify.com/calm_necessity/logo-generator.md
- **Developed by:** [Taher Ali Badnawarwala](https://apify.com/calm_necessity) (community)
- **Categories:** AI, Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 23 total users, 0 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: 1.00 out of 5 stars

## Pricing

from $40.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Logo Generator

Generate professional logos from text prompts using the MultipleWords API. This Apify Actor allows you to create custom logos by simply providing a text description of what you want.

### What it does

This Actor generates logo images using AI-powered logo generation technology. Simply provide a text prompt describing the logo you want, and the Actor will:

- Send your prompt to the MultipleWords logo generation API
- Generate a professional logo image
- Return the logo URL and detailed information about the generated image
- Save all results to the Apify dataset for easy access

### Included features

- **[Apify SDK](https://docs.apify.com/sdk/js/)** - toolkit for building [Actors](https://apify.com/actors)
- **Standby Mode** - HTTP server that stays ready to process requests in real-time
- **Batch Mode** - Also supports traditional batch processing
- **Graceful Abort Handling** - Properly handles Actor termination
- **Error Handling** - Comprehensive error handling and logging

### Input

The Actor accepts a single input parameter:

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `prompt` | String | Yes | Text prompt describing the logo to generate (e.g., "Please generate a good logo image for personal branding by using my name's initials Y and J.") |

#### Example Input

```json
{
  "prompt": "Please generate a good logo image for personal branding by using my name's initials Y and J."
}
```

### Output

The Actor saves results to the Apify dataset with the following structure:

| Field | Type | Description |
|-------|------|-------------|
| `status` | Integer | API response status (1 = success) |
| `image_url` | String | URL of the generated logo image |
| `image_id` | Integer | ID of the generated image |
| `details` | Object | Detailed information about the generated logo including creation timestamp, engine ID, user ID, and more |

#### Example Output

```json
{
  "status": 1,
  "image_url": "https://multiplewords.nyc3.cdn.digitaloceanspaces.com/logo_generation/please-generate-a-good-logo-image-for-personal-bra-logo_generation-2026-01-28-06-42-37.png",
  "image_id": 509912,
  "details": {
    "id": 509912,
    "image_url": "https://multiplewords.nyc3.cdn.digitaloceanspaces.com/logo_generation/please-generate-a-good-logo-image-for-personal-bra-logo_generation-2026-01-28-06-42-37.png",
    "image_description": "",
    "image_name": "logo generation",
    "image_created_at": "2026-01-28T06:42:38.875698Z",
    "image_updated_at": "2026-01-28T06:42:38.875721Z",
    "engine": 21,
    "user_id": 12763,
    "image_category_id": 17,
    "language_id": 49
  }
}
```

### How it works

1. **Standby Mode (Default)**: The Actor runs as an HTTP server that stays ready to process requests
   - Accepts POST requests at the root endpoint (`/`)
   - Handles readiness probes for proper lifecycle management
   - Processes logo generation requests in real-time

2. **Batch Mode**: If input is provided at startup, the Actor processes it and exits
   - Useful for one-time logo generation tasks
   - Automatically detects input and switches to batch mode

3. **API Integration**: The Actor communicates with the MultipleWords API
   - Endpoint: `https://shorts.multiplewords.com/mwvideos/api/logo_generation`
   - Method: POST with multipart/form-data
   - Parameters: `prompt`, `user_id` (663559), `isPro` (1)

### Usage Examples

#### Standby Mode (HTTP Server)

Start the Actor and send POST requests:

```bash
## Start the Actor
apify run

## In another terminal, send a request
curl -X POST http://localhost:8080/ \
  -H "Content-Type: application/json" \
  -d '{"prompt": "Create a modern tech startup logo with blue and white colors"}'
```

#### Batch Mode

Provide input directly:

```bash
## Create input.json
echo '{"prompt": "Generate a logo for a coffee shop called Brew Masters"}' > input.json

## Run the Actor
apify run
```

Or use Apify Console to provide input through the UI.

### Getting started

For complete information [see this article](https://docs.apify.com/platform/actors/development#build-actor-locally). To run the Actor use the following command:

```bash
apify run
```

#### Prerequisites

- Node.js 18.0.0 or higher
- Apify CLI installed (`npm install -g apify-cli`)
- Apify account (for deployment)

#### Local Development

1. Clone or download this repository
2. Install dependencies:
   ```bash
   npm install
   ```
3. Run the Actor locally:
   ```bash
   apify run
   ```

### Deploy to Apify

#### Connect Git repository to Apify

If you've created a Git repository for the project, you can easily connect to Apify:

1. Go to [Actor creation page](https://console.apify.com/actors/new)
2. Click on **Link Git Repository** button

#### Push project on your local machine to Apify

You can also deploy the project on your local machine to Apify without the need for the Git repository.

1. Log in to Apify. You will need to provide your [Apify API Token](https://console.apify.com/account/integrations) to complete this action.

   ```bash
   apify login
   ```

2. Deploy your Actor. This command will deploy and build the Actor on the Apify Platform. You can find your newly created Actor under [Actors -> My Actors](https://console.apify.com/actors?tab=my).

   ```bash
   apify push
   ```

### Project Structure

```
logo-generator/
├── .actor/
│   ├── actor.json          # Actor configuration
│   └── input_schema.json   # Input schema definition
├── api/                    # API folder structure (matches example)
│   ├── .actor/
│   │   ├── actor.json
│   │   └── input_schema.json
│   └── src/
│       └── main.js
├── src/
│   └── main.js             # Main Actor code
├── Dockerfile              # Container image definition
├── package.json            # Node.js dependencies
└── README.md               # This file
```

### API Details

- **Endpoint**: `https://shorts.multiplewords.com/mwvideos/api/logo_generation`
- **Method**: POST
- **Content-Type**: multipart/form-data
- **Required Parameters**:
  - `prompt`: Text description of the logo
  - `user_id`: 663559 (hardcoded)
  - `isPro`: 1 (hardcoded)

### Resources

- [Node.js tutorials](https://docs.apify.com/academy/node-js) in Academy
- [Video guide on getting data using Apify API](https://www.youtube.com/watch?v=ViYYDHSBAKM)
- [Integration with Make](https://apify.com/integrations), GitHub, Zapier, Google Drive, and other apps
- [Apify SDK for JavaScript documentation](https://docs.apify.com/sdk/js)
- [Apify Platform documentation](https://docs.apify.com/platform)
- [Join our developer community on Discord](https://discord.com/invite/jyEM2PRvMU)

### Support

For issues, questions, or contributions, please refer to the Apify documentation or community forums.

# Actor input Schema

## `prompt` (type: `string`):

Text prompt describing the logo to generate (e.g., 'Please generate a good logo image for personal branding by using my name's initials Y and J.')

## Actor input object example

```json
{
  "prompt": "Please generate a good logo image for personal branding by using my name's initials Y and J."
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "prompt": "Please generate a good logo image for personal branding by using my name's initials Y and J."
};

// Run the Actor and wait for it to finish
const run = await client.actor("calm_necessity/logo-generator").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "prompt": "Please generate a good logo image for personal branding by using my name's initials Y and J." }

# Run the Actor and wait for it to finish
run = client.actor("calm_necessity/logo-generator").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "prompt": "Please generate a good logo image for personal branding by using my name'\''s initials Y and J."
}' |
apify call calm_necessity/logo-generator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,calm_necessity/logo-generator"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/VgFdAfAzRsFSJm4tg/builds/clQSarbGRdz3v04O6/openapi.json
