GPTRouter 0.3.9__tar.gz → 0.4.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: GPTRouter
3
- Version: 0.3.9
3
+ Version: 0.4.0
4
4
  Summary: A Python package for working with GPTRouter APIs
5
5
  Author-email: sirjanpreet@writesonic.com
6
6
  Classifier: Development Status :: 3 - Alpha
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: GPTRouter
3
- Version: 0.3.9
3
+ Version: 0.4.0
4
4
  Summary: A Python package for working with GPTRouter APIs
5
5
  Author-email: sirjanpreet@writesonic.com
6
6
  Classifier: Development Status :: 3 - Alpha
@@ -50,6 +50,9 @@ class ModelsEnum(Enum):
50
50
  STABLE_DIFFUSION_V6 = "stable-diffusion-v1-6"
51
51
 
52
52
  REPLICATE_FLUX = "black-forest-labs/flux-dev"
53
+ REPLICATE_FLUX_PRO = "black-forest-labs/flux-pro"
54
+ REPLICATE_FLUX_11_PRO = "black-forest-labs/flux-1.1-pro"
55
+ REPLICATE_FLUX_SCHNELL = "black-forest-labs/flux-schnell"
53
56
 
54
57
  OPENAI_EMBEDDINGS_ADA_002 = "text-embedding-ada-002"
55
58
  AZURE_OPENAI_EMBEDDINGS_ADA_002 = "text-embedding-ada-002"
@@ -164,6 +167,15 @@ class GPTRouterEngines(Enum):
164
167
  REPLICATE_FLUX = ModelDetails(
165
168
  ProvidersEnum.REPLICATE.value, "black-forest-labs/flux-dev"
166
169
  )
170
+ REPLICATE_FLUX_PRO = ModelDetails(
171
+ ProvidersEnum.REPLICATE.value, "black-forest-labs/flux-pro"
172
+ )
173
+ REPLICATE_FLUX_11_PRO = ModelDetails(
174
+ ProvidersEnum.REPLICATE.value, "black-forest-labs/flux-1.1-pro"
175
+ )
176
+ REPLICATE_FLUX_SCHNELL = ModelDetails(
177
+ ProvidersEnum.REPLICATE.value, "black-forest-labs/flux-schnell"
178
+ )
167
179
 
168
180
  LLAMA_3_70B_NITRO = ModelDetails(
169
181
  ProvidersEnum.OPENROUTER, "meta-llama/llama-3-70b-instruct:nitro"
@@ -89,6 +89,7 @@ class ImageGenerationRequest(BaseModel):
89
89
  num_images: int = Field(alias="numImages", default=1)
90
90
  width: Optional[int] = Field(None, alias="width")
91
91
  height: Optional[int] = Field(None, alias="height")
92
+ num_inference_steps: Optional[int] = Field(None, alias="numInferenceSteps")
92
93
 
93
94
  class Config:
94
95
  allow_population_by_field_name = True
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
5
5
 
6
6
  setup(
7
7
  name="GPTRouter",
8
- version="0.3.9",
8
+ version="0.4.0",
9
9
  description="A Python package for working with GPTRouter APIs",
10
10
  long_description=long_description,
11
11
  long_description_content_type="text/markdown",
File without changes
File without changes
File without changes
File without changes